Forum Discussion
Anonymous
8 years agoNot applicable
Running Total - Count Groups with Missing Values
I'm trying to create a running total for the number of open data sets our department has published by month, so that we can see how many data sets each division has published through any given month....
- 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
8 years agoNot applicable
how to stop the running sum on the last date?
Thanks.
Anonymous
7 years agoNot applicable
I have the same issue on how to stop the running sum on the last date of data. Is it possible ?