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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!
User | Count |
---|---|
188 | |
66 | |
64 | |
55 | |
52 |
User | Count |
---|---|
251 | |
202 | |
101 | |
70 | |
70 |