Forum Discussion
jurgenvd
Helper I
8 years agomeasure difference in percentage from same measures
Hi All I'm stuck with my Matrix, can someone help me. I have 3 measures Incidents opened Incidents closed Average incidents in open state per week next to those measures i have a t...
- 8 years ago
HI jurgenvd
Try adding this MEASURE.
Bascially for each row it is intended to give you the [Incidents Opened]....For total....the difference between max and highest week
Measure = IF ( HASONEVALUE ( TableName[WeekNumber] ), [Incidents Opened], CALCULATE ( [Incidents Opened], FILTER ( ALLSELECTED ( TableName[WeekNumber] ), TableName[WeekNumber] = MAX ( TableName[WeekNumber] ) ) ) - CALCULATE ( [Incidents Opened], FILTER ( ALLSELECTED ( TableName[WeekNumber] ), TableName[WeekNumber] = MIN ( TableName[WeekNumber] ) ) ) ) - 8 years ago
Please give this a shot
Measure = IF ( HASONEVALUE ( TableName[WeekNumber] ), [Incidents Opened], ROUND ( ( CALCULATE ( [Incidents Opened], FILTER ( ALLSELECTED ( TableName[WeekNumber] ), TableName[WeekNumber] = MAX ( TableName[WeekNumber] ) ) ) / CALCULATE ( [Incidents Opened], FILTER ( ALLSELECTED ( TableName[WeekNumber] ), TableName[WeekNumber] = MIN ( TableName[WeekNumber] ) ) ) - 1 ) * 100, 1 ) & "%" )
Zubair_Muhammad
Community Champion
8 years ago
Even for the total row??.... Total row is not visible in your picture
Could you share your file?
jurgenvd
Helper I
8 years ago
Thanks for the Big Help,
you are right, when i added the totals it was showing the difference, now just find out how to represent the number in Percentages.
Many Thanks