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
niculeica
Helper I
Helper I

Getting Running Total in matrix, based on Measure

Hello,

 

Having some troubles calculating Running Total of a measure, in a matrix (so the running total would be based on a measure, not column). Expected result is running total being summed in the following cadence:

 

 AmountTotal
Jan1010
Feb3040
Mar60100
Q1100100
Apr30130
May25155
Jun20175
Q275175

 

The existing measure is below:

 

_Renewal amount = SUMX(SUMMARIZE(_Timeline,_Timeline[_M],"Renewal ARR",[_Renewal amount raw]),[Renewal ARR])

 

Any ideas on how this could be achieved?

 

niculeica_0-1698843212730.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @niculeica ,

Please have a try.

_Renewal amount running total =
CALCULATE (
    [_Renewal amount],
    FILTER (
        ALLSELECTED ( _Timeline[_M] ),
        ISONORAFTER ( _Timeline[_M], MAX ( _Timeline[_M] ), DESC )
    )
)

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @niculeica ,

Please have a try.

_Renewal amount running total =
CALCULATE (
    [_Renewal amount],
    FILTER (
        ALLSELECTED ( _Timeline[_M] ),
        ISONORAFTER ( _Timeline[_M], MAX ( _Timeline[_M] ), DESC )
    )
)

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

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.