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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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