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.
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
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 |
---|---|
106 | |
105 | |
79 | |
69 | |
62 |
User | Count |
---|---|
142 | |
105 | |
103 | |
85 | |
70 |