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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
eengle11
New Member

Running Total On Graph

Power BI Help.PNG

Sorry for the basic picture, I am trying to display a running total graphically, the darker blue represents Actual amounts, and the light Blue represents Projections. They should always follow each other as the projection changes based upon the actual amount. I would like for the Actual Line to stop when it no longer is following the Projection. I have found a work around by using a variable date, however different reporting schedules has caused this to become a less then ideal fix. Please let me know if there is a simple way to get the darker blue line to stop, based on when it deviates from the light blue. 

1 REPLY 1
vsorensen
Frequent Visitor

Try using an if statement

IF(SELECTEDVALUE([date_column]) > [date_to_stop_graph], CALCULATE())

Replace the 'CALCULATE()' statement with your running total calculation. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.