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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Markus_P
Regular Visitor

calculate / display a cumulative Sum

Hello

 

I am locking for a way to calculate / display a cumulative Sum. See the red line below:

Markus_P_0-1694437188336.png

 

Sadly, I was not able to find a solution. Has anyone an idea on how this would work?

Thanks

3 REPLIES 3
Mani_1
Frequent Visitor

Hi @Markus_P ,

Create measure 
Cumulative Total = CALCULATE( SUM('Table'[Wert]), FILTER( ALL('Table'), 'Table'[Date] <= MAX('Dimdate'[Date]) ) )
Then add Cumulative Total on Y-axis and date on X-axis.
Thanks

 

This Works, Tanks.

 

I was wondering if there is a way to do this when my filter are no Values and are not in an Alphabetical Order. Therefore, I wand to use a custom order. I can create a second column that has a ranking information. But I use this then I can’t show the “real” Date in the visual.

Greg_Deckler
Super User
Super User

@Markus_P See this video for a running total:


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.