Forum Discussion
AvijitD_05
2 years agoNew Member
Show Text Dynamically Based on Filter Selection
Hello, I am using a slicer in my report and I want show show the Text "Multiple", if more than one values are selected in the slicer. For example, the Slicer has 4 values: Red, Blue, Black an...
- Anonymous2 years ago
Hi AvijitD_05
Thanks for the reply from BeaBF and Shaurya .
AvijitD_05 , you can try the following measure.
Measure = VAR _count = CALCULATE(COUNT('Table'[Color]), FILTER('Table', [Color] IN VALUES('Table'[Color]))) RETURN IF(_count = 1, MAX([Color]), "Multiple")Output:
Best Regards,
Yulia XuIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
2 years agoNot applicable
Hi AvijitD_05
Thanks for the reply from BeaBF and Shaurya .
AvijitD_05 , you can try the following measure.
Measure =
VAR _count = CALCULATE(COUNT('Table'[Color]), FILTER('Table', [Color] IN VALUES('Table'[Color])))
RETURN
IF(_count = 1, MAX([Color]), "Multiple")
Output:
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.