Forum Discussion
Custom Slicer: All values and all except one
- Anonymous5 years ago
Hi crln-blue ,
Based on your description, you can do some steps as follows.
1. create a table that contains only "All materials except material B" and "All materials". (I used "Enter Data" option)
2. create a measure and drag it to the filter of the table visual.(is equal to 1)
Measure =
var x1=SELECTEDVALUE('slicer'[S])
var x2=IF(MAX('Query1'[material])<>BLANK(),"All materials")
var x3=IF(MAX('Query1'[material])<>"B","All materials except material B")
return
IF(x1="All materials",1,IF(x1=x3,1,0))Result:
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
crln-blue you can surely have a visual level filter for the slicer, read this post.
Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡