Return
day: the date of the recordregion: the sales regionrevenue: the revenue for that region and daycumulative_region_revenue: the total revenue for the region from the start through that daycumulative_signups: the total number of signups from the start through that day (all regions)region and day.Expected output
| day | region | revenue | cumulative_region_revenue | cumulative_signups |
|---|---|---|---|---|
| 2023-01-01 | EU | 410 | 410 | 25 |
| 2023-01-02 | EU | 758 | 1168 | 117 |
| 2023-01-03 | EU | 806 | 1974 | 141 |
First 3 of 82 rows your query should return. Your column aliases don't need to match.