Forum Discussion
Use a Measure as a Slicer
- 3 years ago
As you can't use the measure as a slicer you need to add the segmentation as a calculated column.
From your sample, I understood that this segmentation is on the customer level.
So you can use dax formula :Customers_priority = if (CALCULATE(sum(Data[Amount]),ALLEXCEPT('Data','Data'[Customer]))>=50000,"One",if(CALCULATE(sum(Data[Amount]),ALLEXCEPT('Data','Data'[Customer]))>=10000,"Two","Three"))And then use it on your slicer
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
- 3 years ago
Hi,
Please download the attached PBI file.
Hope this helps.
As you can't use the measure as a slicer you need to add the segmentation as a calculated column.
From your sample, I understood that this segmentation is on the customer level.
So you can use dax formula :
And then use it on your slicer
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly