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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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