Forum Discussion
Check whether measure is higher or lower than average
- 4 years ago
Hi, Anonymous
I'm not sure you've written your checkSAS measure here, but I'm guessing somewhere within it there will be a comparison like
[SASAttachRate] <= [Average SAS]Can you try changing that part to
[SASAttachRate] <= CALCULATE( [Average SAS], ALL( 'User-based Products' ) )Have a quick look at what happens if you add [Average SAS] into the table you've shown. I'm thinking it will give you the same values as [SASAttachRate], because it's calculating the average of only one row, which is just the same value.
Hope that helps, if it doesn't let me know.
Hi, Anonymous
I'm not sure you've written your checkSAS measure here, but I'm guessing somewhere within it there will be a comparison like
[SASAttachRate] <= [Average SAS]
Can you try changing that part to
[SASAttachRate] <= CALCULATE( [Average SAS], ALL( 'User-based Products' ) )
Have a quick look at what happens if you add [Average SAS] into the table you've shown. I'm thinking it will give you the same values as [SASAttachRate], because it's calculating the average of only one row, which is just the same value.
Hope that helps, if it doesn't let me know.