Forum Discussion
Running Total - Count Groups with Missing Values
- Anonymous8 years ago
Anonymous,
Firstly, create a date table in Power BI Desktop following the guide in this blog.
Secondly, create relationship using date field of the date table and pub_date field of Open Data table.
Thirdly, create measure using DAX below.Running OD = CALCULATE(COUNT('Open Data'[ds_name]),FILTER(ALL('Date'),'Date'[DateKey]<=MAX('Date'[DateKey])))
At last, drag date field of date table to X-Axis of your chart.
Regards,
Lydia
Anonymous,
Firstly, create a date table in Power BI Desktop following the guide in this blog.
Secondly, create relationship using date field of the date table and pub_date field of Open Data table.
Thirdly, create measure using DAX below.
Running OD = CALCULATE(COUNT('Open Data'[ds_name]),FILTER(ALL('Date'),'Date'[DateKey]<=MAX('Date'[DateKey])))
At last, drag date field of date table to X-Axis of your chart.
Regards,
Lydia
how to stop the running sum on the last date?
Thanks.
- Anonymous7 years agoNot applicable
I have the same issue on how to stop the running sum on the last date of data. Is it possible ?