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
Soulbergen
New Member

Running total across years not showing correctly

I am trying to build a visual based on data from SAP with actuals on posting data. I have used running total measure to display a cumulative graph over time. However, it either shows non-cumulative or cumulative but not sorted by proper month/year.

I would like the graph to display cumulative actuals over time (months and years) based on a CJI3 report from SAP.

 

What am i doing wrong?

 

See pictures attached. 

 

Thank you kindly

 

 

 

Snip1.PNGSnip3.PNGSnip2.PNGSnip4.PNG

1 REPLY 1
devanshi
Helper V
Helper V

Just write ALL function instead of ALLSELECTED.

Cumulative Actuals = CALCULATE( SUM('Table'[Actuals]),
                                              FILTER( ALL('Table'[DateColumn]), 'Table'[DateColumn] <= MAX('Table'[DateColumn]) ) )

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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