Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello Community,
I need your help. I'm trying to make a measure that compares two values on item level and dependent business rules we decide which value to use . On item level I got the right amount, but the total of the column is not correct. The items rollup to a header and also this total is not what I expect to be. How can I improve the syntax so the rollup/totals will show the expected amount
ETC Engineering Costs = IF (
CONTAINS ( 'PS ProjectResults', [ETC ENG Flag], "X" ),
[ACT Engineering Costs To be delivered],
IF (
[ACT Engineering Costs To be delivered] > [PLAN Engineering Costs To be delivered],
[ACT Engineering Costs To be delivered],
[PLAN Engineering Costs To be delivered]
)
)
ACT Engineering Costs To be delivered =
CALCULATE (
SUM ( 'PS ProjectResults'[Engineering Costs] ),
FILTER (
'PS ProjectResults',
'PS ProjectResults'[Value Type Description] = "Actual")
)
PLAN Engineering Costs To be delivered =
CALCULATE (
SUM ( 'PS ProjectResults'[Engineering Costs] ),
FILTER (
'PS ProjectResults',
'PS ProjectResults'[Value Type Description] = "Plan")
)
Solved! Go to Solution.
@Kpham This looks like a measure totals problem. Very common. See my post about it here: https://com...
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Plus a video:
MSHGQM - The Measure Totals Problem - YouTube
@Kpham This looks like a measure totals problem. Very common. See my post about it here: https://com...
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Plus a video:
MSHGQM - The Measure Totals Problem - YouTube