Forum Discussion
Anonymous
7 years agoNot applicable
Slicer values
Hello All, Is there a way to capture values from single slicer. Example: Values in Slicer (Multi Select) Value A Value B Value C Value D and so on. User Selects Value A, Value C, and Value D. Is there a way to capture those values? Because based on user selected values, I need to pass the values to measure.
5 Replies
- AlBCommunity Champion
Hi Anonymous
Yes, by using for example
SELECTEDVALUE('Table'[Slicer]). This only works with one item selected though. It will return blank() otherwise.
If you use VALUES('Table'[Slicer]) you'll get a one-column table with the values selected in the slicer that you can then use in your measure.
Does that help? Otherwise, if you show what you want to do in your measure we could be more specific
- AnonymousNot applicableThanks @AIB that will not work, I'm trying to capture all the selected values from the slicer, not just one value.
- AlBCommunity Champion
Anonymous
Sure. Like I said, VALUES('Table'[Slicer]) will get you a one-column table with the all the values selected in the slicer that you can then use in your measure.
