Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Cumulative Chart with Single Day Selection

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.
image.png

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. 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

SQLBI have a video which I think matches what you are after - https://www.youtube.com/watch?v=d8Rm7dwM6gc 

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

SQLBI have a video which I think matches what you are after - https://www.youtube.com/watch?v=d8Rm7dwM6gc 

Anonymous
Not applicable

Thank you so much! That definitely took me in the right direction. Really appreciate your help!!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.