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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors