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 September 15. Request your voucher.

Reply
Avermaak
Helper I
Helper I

Cumulative Actuals HELP

Good day,

 

I need some assistance with a dax formula for Cumulative actuals. Due to me only having one actual for the first period, I want to override the 0.00 values with the budget amount.

So firstly I created a new actual by overriding the 0.00 values with the budget but when I do the cumulative formula it does not add the amount as needed. Please assist with the cumulative amounts, below are the formula's used

 

Avermaak_0-1660729593765.png

 

NEW Actual =
IF (SUM('Key Metrics per Month'[Actual]) = BLANK (),sum('Key Metrics per Month'[Budget]),0) + SUM('Key Metrics per Month'[Actual])
 
Cumulative Actual =
CALCULATE(
    [NEW Actual],
    FILTER(
        ALLSELECTED('Key Metrics per Month'[Financial Period]),
        ISONORAFTER('Key Metrics per Month'[Financial Period]MAX('Key Metrics per Month'[Financial Period]), DESC)
    )
)
1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

Please try something like below whether it works.

 

Cumulative Actual =
CALCULATE (
    SUMX ( VALUES ( 'Key Metrics per Month'[Financial Period] ), [NEW Actual] ),
    FILTER (
        ALLSELECTED ( 'Key Metrics per Month'[Financial Period] ),
        ISONORAFTER (
                'Key Metrics per Month'[Financial Period], MAX ( 'Key Metrics per Month'[Financial Period] ), DESC
        )
    )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

Please try something like below whether it works.

 

Cumulative Actual =
CALCULATE (
    SUMX ( VALUES ( 'Key Metrics per Month'[Financial Period] ), [NEW Actual] ),
    FILTER (
        ALLSELECTED ( 'Key Metrics per Month'[Financial Period] ),
        ISONORAFTER (
                'Key Metrics per Month'[Financial Period], MAX ( 'Key Metrics per Month'[Financial Period] ), DESC
        )
    )
)

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Thank you, it works perfectly.

 

Avermaak_0-1660805678714.pngAvermaak_1-1660805707118.png

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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