Forum Discussion
Slicer to include or exclude rows with specific text
- 4 years ago
Hi Anonymous
You can create a calculated column that you can then use for the slicer. Just create a conditional formula to use in the calculated column like the following:
Slicer =
SWITCH (
TRUE () ,
'Table'[Text] = "not received _ no group" , "Yes" ,
"No"
)You can then use the new calculated column to create the Slicer you want 🙂
Hope this helps!
Theo
TheoC Thanks for this suggestion but i would like to keep it as a simple single-click checkbox selection list. The issue with the "Select all" option is that if it is selected, then if another option is selected, then it actually excludes the latter instead of moving to that selection only.
For example, after clicking on the "Select all" option:
Then, if the option "No" is clicked, instead of selecting only "No", it actually excludes it:
So, i think maybe having an option in the formula where it would do the same as "Select all" or select none. Is that possible?
Hi Anonymous you can just tick "Single Select" from the options. There is no need for additional formulas etc.
Hope that helps.