Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am running into some problems with a DAX related, cumulative sum measure.
Basically I am trying to create a plot which will show a running cumulative total for a selected date range. I currently have it working, as shown in the picture below, where when a user selects multiple days, the chart displays the totals for that date selection. I have removed the name of the Sales table due to privacy concerns, but you can assume its basically "SaleTable", where the sale information is stored.
As you can see in the screenshot, selecting multiple days does the trick. However, ideally Id like to get the same behaviour when selecting a single day from the hierarchical slicer. So if a user just picks the 24th, and no days before that, you would still get the same visual.
Even more ideally, Id like to be able to show the entire month, with dates after the selected date being blank. So selecting the 24th wont limit the chart to the 24th day, but will show the rest of the days pup until the 31st as blank.
Would really appreciate any help on this!
I feel like a solution might be to use a disjoined copy of the date table, and base it off that.
Solved! Go to Solution.
SQLBI have a video which I think matches what you are after - https://www.youtube.com/watch?v=d8Rm7dwM6gc
SQLBI have a video which I think matches what you are after - https://www.youtube.com/watch?v=d8Rm7dwM6gc
Thank you so much! That definitely took me in the right direction. Really appreciate your help!!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |