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

View all the Fabric Data Days sessions on demand. View schedule

Reply
teo9578
Regular Visitor

running total in Power BI for several groups

Hi all.

 

I'm trying to make running total in Power BI like chart below.

It has date and different group name and I want to make running total for each groups.

I used 'quick measure' but it doesn't work.

Could you help me to solve this problem?

 

teo9578_0-1647784724658.png

 

1 ACCEPTED SOLUTION
moizsherwani
Continued Contributor
Continued Contributor

Hi @teo9578 See if this will work for you. I attached the file as an example too

 

RunningTotal =
CALCULATE (
    SUM ( 'Table'[Value] ),
    FILTER (
        ALLEXCEPT ( 'Table', 'Table'[Group] ),
        'Table'[Date] <= MAX ( 'Table'[Date] )
    )
)
Thanks,

Moiz
Was I able to answer your question? Mark my post as a solution to help others. Kudos if you liked the solution.

View solution in original post

1 REPLY 1
moizsherwani
Continued Contributor
Continued Contributor

Hi @teo9578 See if this will work for you. I attached the file as an example too

 

RunningTotal =
CALCULATE (
    SUM ( 'Table'[Value] ),
    FILTER (
        ALLEXCEPT ( 'Table', 'Table'[Group] ),
        'Table'[Date] <= MAX ( 'Table'[Date] )
    )
)
Thanks,

Moiz
Was I able to answer your question? Mark my post as a solution to help others. Kudos if you liked the solution.

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