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
eddd83
Resolver I
Resolver I

Displaying a running total on a card

In my table, X-High, High, Medium and Low are all measures. Total is just a measure summing the previous 4 measures. All-running total is the running total for the first 4 measures, while X-high + high running total is just the running total for X-high + high.

 

 

upload to forum.PNG

Is there a way of displaying the final value (21 & 10) for both "all running total" and "x-high + high running total" on a card like so......

 

upload to forum 2.PNG

 

Here are the running total measures if it helps

 

All Running Total =
SUMX (
    FILTER (
        ALLSELECTED ( 'Date'[Date] ),
        'Date'[Date] <= SELECTEDVALUE ( 'Date'[Date] )
    ),
    'Report Measures'[Total]
)
X-High + High Running Total = 
SUMX (
    FILTER (
        ALLSELECTED ( 'Date'[Date] ),
        'Date'[Date] <= SELECTEDVALUE ( 'Date'[Date] )
    ),
    'Report Measures'[High] + 'Report Measures'[X-High]
)
1 ACCEPTED SOLUTION
eddd83
Resolver I
Resolver I

Ok. I managed to figure out a halfway solution. If I use a bar chart and change to a date hierarchy, I get the result that I want.

BTW, how do i upload an image in the reply? I entered the url for the image, and it just gves an "X". and there's no option in "insert/edit image" to scan my PC for the picture.

View solution in original post

2 REPLIES 2
eddd83
Resolver I
Resolver I

Ok. I managed to figure out a halfway solution. If I use a bar chart and change to a date hierarchy, I get the result that I want.

BTW, how do i upload an image in the reply? I entered the url for the image, and it just gves an "X". and there's no option in "insert/edit image" to scan my PC for the picture.

AlB
Community Champion
Community Champion

Hi @eddd83 

Try changing

SELECTEDVALUE ( 'Date'[Date] )

for

MAX ( 'Date'[Date] )

in both measures. SELECTEDVALUE will by default return NULL when more than one date is present in the filter context. You could also do:

SELECTEDVALUE ( 'Date'[Date] ,  MAX ( 'Date'[Date] ) )

 

 

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