Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I'd like to know if you know of a way to force the selection of a filter, while leaving the freedom to select another element.
Here's an example to illustrate my point:
I'd like to be able to force the selection of entities A and B in all the visuals on my page, while leaving the user free to select any entity C, D, E etc..
The aim is to leave the user only the option of selecting entities other than A and B, and thus hide them from the Slicer.
The image below shows an example of what the user should see if he selects entity C.
Note that we have a lot of different entities
Thank you for your help !
Solved! Go to Solution.
Hi @Bastienlin_ ,
I created some data:
Here are the steps you can follow:
1. Create calculated table -- slicer.
Table 2 =
DISTINCT('Table'[entity])
2. Create measure.
Flag =
var _select=SELECTCOLUMNS('Table 2',"select",'Table 2'[entity])
return
IF(
MAX('Table'[entity]) in _select || MAX('Table'[entity]) in {"A","B"},1,0)
3. Place [FLag] in each visual filter that needs to be forced to display.
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Bastienlin_ ,
I created some data:
Here are the steps you can follow:
1. Create calculated table -- slicer.
Table 2 =
DISTINCT('Table'[entity])
2. Create measure.
Flag =
var _select=SELECTCOLUMNS('Table 2',"select",'Table 2'[entity])
return
IF(
MAX('Table'[entity]) in _select || MAX('Table'[entity]) in {"A","B"},1,0)
3. Place [FLag] in each visual filter that needs to be forced to display.
4. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
96 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |