Last active
September 11, 2018 15:33
-
-
Save joel-bernstein/470ecc87fdac15f1097aed048a90987b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select(timeseries(collection1, q=“*:*”, | |
field="Reported_Date_dt", | |
start="2018-07-20T00:00:00Z", | |
end="2018-08-20T23:59:59Z", | |
gap="+1DAY", | |
format="YYYY-MM-dd", | |
sum(a), | |
sum(b)), | |
Reported_Date_dt, | |
sum(a) as sumA, | |
sum(b) as sumB, | |
add(sumA, sumB) as combinedSum) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment