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
Anonymous
Not applicable

Cummilative sum after a specific month

Hi I want to display the cummilative sum only from August months onward but not able to acheive this .

In Aug , Final FG STK Total should be 221.362 +(-69.45) ( in current it is showing only -69.45) In Sep , Final FG STK Total should be 221.362 +(-69.45) + 10.55  (in current it is showing only 10.55) & so on

 

Stuck in getting those values.

bibhu059_123_1-1721455563750.png

 

2 ACCEPTED SOLUTIONS
danextian
Super User
Super User

Hi @Anonymous 

Try this calculated column

CALCULATE (
    SUM ( 'table'[rolling total] ),
    FILTER (
        ALL ( 'table' ),
        'table'[month] >= 7
            && 'table'[month] <= EARLIER ( 'table'[month] )
    )
)




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

Samarth_18
Community Champion
Community Champion

Hi @Anonymous ,

 

You could try below code:-

Cumulative_Total = 
VAR CurrentMonth = [Month]
var _result =   
    CALCULATE(
        SUM('Table (3)'[Rolling_total]),
        FILTER(
            ALL('Table (3)'),
            [Month] <= CurrentMonth && [Month] >= 7
        )
    )
RETURN IF('Table (3)'[Month] >=8,_result)

Output:-

Samarth_18_0-1721460512653.png

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

3 REPLIES 3
Samarth_18
Community Champion
Community Champion

Hi @Anonymous ,

 

You could try below code:-

Cumulative_Total = 
VAR CurrentMonth = [Month]
var _result =   
    CALCULATE(
        SUM('Table (3)'[Rolling_total]),
        FILTER(
            ALL('Table (3)'),
            [Month] <= CurrentMonth && [Month] >= 7
        )
    )
RETURN IF('Table (3)'[Month] >=8,_result)

Output:-

Samarth_18_0-1721460512653.png

 

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

danextian
Super User
Super User

Hi @Anonymous 

Try this calculated column

CALCULATE (
    SUM ( 'table'[rolling total] ),
    FILTER (
        ALL ( 'table' ),
        'table'[month] >= 7
            && 'table'[month] <= EARLIER ( 'table'[month] )
    )
)




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

Hi @danextian  , 

You made my day:)

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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