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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors