Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Solved! Go to Solution.
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.
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.
Thank you, it works perfectly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
39 | |
33 | |
18 | |
17 |