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
EstherBR
Helper III
Helper III

Running total as a Tooltip

Hi,

 

I have the following table:

EstherBR_0-1760629638190.png

I have created the following line chart with the cumulative sum of sales:

Running Total =
CALCULATE(
    SUM(Sheet1[Sales]),
    FILTER(
        ALLSELECTED(Sheet1[Date]),
        Sheet1[Date] <= MAX(Sheet1[Date])
    )
)

EstherBR_1-1760629730835.png

I have to create a custom tooltip that displays the Sum of sales and the sales running total. But The running total of the tooltip displays just the sum of sales. How can I fix this?

EstherBR_2-1760629930827.png

Thanks!

 

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

Please try something like below.

For this kind of semantic model, that has only one table, try using ALL DAX function.

 

Jihwan_Kim_0-1760633889757.png

 

Running Total = 
CALCULATE(
    SUM(Sheet1[Sales]),
    FILTER(
        ALL(Sheet1[Date]),
        Sheet1[Date] <= MAX(Sheet1[Date])
    )
)

  


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

Please try something like below.

For this kind of semantic model, that has only one table, try using ALL DAX function.

 

Jihwan_Kim_0-1760633889757.png

 

Running Total = 
CALCULATE(
    SUM(Sheet1[Sales]),
    FILTER(
        ALL(Sheet1[Date]),
        Sheet1[Date] <= MAX(Sheet1[Date])
    )
)

  


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Thanks @Jihwan_Kim !

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors