Forum Discussion
Comparing top performers with selection
I would start by creating measures calculating the KPI values that you want to compare against. These measures should ignore all external filters and always produce the current value.
As an example, if you want to compare against the average of buildings classified as "A",
Measure = Calculate( ( [Consumtion] / [Duration] ) / [BuildingCount] , All( 'Buildings') , [Classifcation] = "A" )
This measure should always produce the average of buildings classified "A" which means that if you put it in a table together with the normal calculation you should be able to use a slicer to filter on a specific building to compare.
/ J
Thanks so much for you reply,
In the measure it won't allow me to specifiy [classification] = 'A' as this is not a measure,
Is there a way around this?
Thanks,
Ben
- tex6287 years agoCommunity Champion
I assume that classification is a column, so in that case it would be 'Table1'[Classification] = "A" instead in the filter statement.