Forum Discussion
column value based filter
- 3 years ago
Hi, Lily_DS
You can try the following methods.
Measure:Name measure = SWITCH(TRUE(), SELECTEDVALUE ( Slicer[name] ) = BLANK (),SELECTEDVALUE ( 'Table'[name] ), SELECTEDVALUE ( Slicer[name] ) = SELECTEDVALUE ( 'Table'[name] ),SELECTEDVALUE ( 'Table'[name] ), "-" )Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Lily_DS
You can try the following methods.
Measure:
Name measure =
SWITCH(TRUE(),
SELECTEDVALUE ( Slicer[name] ) = BLANK (),SELECTEDVALUE ( 'Table'[name] ),
SELECTEDVALUE ( Slicer[name] ) = SELECTEDVALUE ( 'Table'[name] ),SELECTEDVALUE ( 'Table'[name] ),
"-"
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- vojtechsima3 years agoSuper User
v-zhangti ,
Hello,
I am not the author of this thread, however, I am interested in this topic, I checked your solution, and it's great.
You create a new table just for the slicer, I wonder if you can do it within the same table or have a relationship between those two tables. - Lily_DS3 years agoFrequent Visitor
thank you so much ,, I tryed your solution it's great.🙏