Forum Discussion
IF function based on a slicer
- Anonymous6 years ago
If you have the selectable items used in slicer in Table[Column]:
MeasureToUseInCard=
SWITCH(SELECTEDVALUE('Table'[Column]),
"Apple", "Fruit",
"Banana, "Fruit",
"Iphone", "Phone",
"No value selected" )
The next step could be to store the values to show in the table as well:
MeasureToUseInCard =
SELECTEDVALUE('Table'[Group], "No value selected)
Best Regards // Ulf
If you have the selectable items used in slicer in Table[Column]:
MeasureToUseInCard=
SWITCH(SELECTEDVALUE('Table'[Column]),
"Apple", "Fruit",
"Banana, "Fruit",
"Iphone", "Phone",
"No value selected" )
The next step could be to store the values to show in the table as well:
MeasureToUseInCard =
SELECTEDVALUE('Table'[Group], "No value selected)
Best Regards // Ulf
- Anonymous6 years agoNot applicable
Thanks a lot! Anonymous I will use this for some of my other cards. For some reason, when I filtered through my slicers, the right equivalent text showed up on the card.
Patrick