Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9843

Fill in missing dates in google sheet query

$
0
0

I have a google sheet query like this:

=QUERY(A2:I;"select I, sum(C) * -1, count(C) group by I order by I ASC"; 1)

And it yield a result like this:

enter image description here

In the source data not all months are occur. But in the aggregation I want to see all the months. How can I manipulate the results or the query, so I have all the monhts. See example output:

enter image description here

BTW: If you are asking why 2020-11 is showing up. This is due to the fact that in this month there was exacly the same ammount of negative and positive, resulting in 0


Viewing all articles
Browse latest Browse all 9843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>