Forum Discussion
Anonymous
4 years agoNot applicable
DAX measure
I have created a table visual and I want to see the classification change as the slicer is being modified. For example Actual Utilisation rate Utilisation classificati...
- 4 years ago
Hi Anonymous ,
Do you mean something like this?
Measure = VAR Count_SelectedQuar = COUNTROWS ( VALUES ( 'Table'[Quarter] ) ) RETURN SWITCH ( Count_SelectedQuar, 1, 0.25, 2, 0.50, 3, 0.75, 1.00 )Or,
Measure = VAR Count_SelectedQuar = COUNTROWS ( VALUES ( 'Table'[Quarter] ) ) RETURN SWITCH ( Count_SelectedQuar, 1, "25%", 2, "50%", 3, "75%", "100%" )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Icey
Community Support
4 years agoHi Anonymous ,
Do you mean something like this?
Measure =
VAR Count_SelectedQuar =
COUNTROWS ( VALUES ( 'Table'[Quarter] ) )
RETURN
SWITCH ( Count_SelectedQuar, 1, 0.25, 2, 0.50, 3, 0.75, 1.00 )
Or,
Measure =
VAR Count_SelectedQuar =
COUNTROWS ( VALUES ( 'Table'[Quarter] ) )
RETURN
SWITCH ( Count_SelectedQuar, 1, "25%", 2, "50%", 3, "75%", "100%" )
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.