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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
JP-Siloam
Frequent Visitor

Cumulative Sum with multiple slicer dates

I need to create two measures that each calculate the cumulative sum from the earliest data (date from will never change) up to user set dates.   For the final result, I want a table that combines the two in the blue box below.  Categories down the side and each measure in a column showing the cumulative sum.

JPSiloam_0-1660755504983.png

I've read the dax patterns page, especially the "First and last date with data" section.  I've tried several times, using Between Slicer and two individual slicers, but just can't get the slicer filters and measure filters to play nice and get the dates set correctly.  

 

Test Data used above:

DateCategoryValue
1/1/2022A10
2/1/2022A10
3/1/2022A10
4/1/2022A10
5/1/2022A10
6/1/2022A10
7/1/2022A10
8/1/2022A1000000
1/1/2022B10
3/1/2022B10
5/1/2022B10
7/1/2022B10
8/1/2022B10

 

Thanks y'all!

1 ACCEPTED SOLUTION
davehus
Memorable Member
Memorable Member

Hi @JP-Siloam , Try the attached solution. It uses disconnected date tables as the slicers. I've written the first measure as an example.

 

https://drive.google.com/file/d/10CZLxgMtiF47gwT3ctop6t0U_JgX6zqD/view?usp=sharing

 

Did I help you today? Please accept my solution and hit the Kudos button.

View solution in original post

2 REPLIES 2
JP-Siloam
Frequent Visitor

Thanks Dave!  That worked perfectly!

davehus
Memorable Member
Memorable Member

Hi @JP-Siloam , Try the attached solution. It uses disconnected date tables as the slicers. I've written the first measure as an example.

 

https://drive.google.com/file/d/10CZLxgMtiF47gwT3ctop6t0U_JgX6zqD/view?usp=sharing

 

Did I help you today? Please accept my solution and hit the Kudos button.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors