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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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:



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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