Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Can we use in Slicer something like "Radio button" instead "Check box". I mean that always one value have to be selected.
Solved! Go to Solution.
Hi @Ilia,
Currently, we are not able to set default value as you describe and disable the ability for user to cancel choice in slicers. Some ideas about the issue have been submitted to Power BI team, you can vote this issue in the following links.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7162004-default-selected-slicer-o...
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/12299949-single-selection-slicer
Thanks,
Lydia Zhang
Thanks everyone for answers, but I meant something different.
Step 1. There is only one value selected in Chiclet Slicer and everything looks good. Simple Card shows value for selected Chiclet.
Step 2. But in Chiclet Slicer I can canceled my choise, thus none of the options were selected. And in this situation Simple Card summarizes all values. I don't want this. I need Simple Card shows only one value.
So, how to avoid situation where User can deselect and none of the values were selected?
I need the exact same solution, avoid the "unselect all" and show only one value. Were you able to solve this?
I need the exact same solution, to avoid the "unselect all" and show only 1 value. Were you able to solve this?
In ChicletSlicer there is option called 'Forced Selection. Turn it on, it will force user to select atleast one value on slicer.
Perfect. Works well.
Hi @Ilia,
Currently, we are not able to set default value as you describe and disable the ability for user to cancel choice in slicers. Some ideas about the issue have been submitted to Power BI team, you can vote this issue in the following links.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7162004-default-selected-slicer-o...
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/12299949-single-selection-slicer
Thanks,
Lydia Zhang
When you download the custom visual ChicletSlicer
Format > General > Multiple selection to OFF.
Here it isn't possible to select more then one value.
Regards,
Jorre
Good day
Hi Jorre94,
In using Chiclet Slicer, I have set Multiple selection to "off" and still if I use the Ctrl key I can select more than one item!
This is a problem that with CTRL it doesnt work
Hello,
There is no option to disable "Select all" or to have a force selection in a slicer. But i have developed a workaround to hide data for "ALL". Create 2 measures as below.
Valid_selection = if(HASONEVALUE(Slicer_attribute), "", "Error: Select a Single value")
Valid_selection_numeric = if(HASONEVALUE(Slicer_attribute), 1, 0)
Pull the first measure into a card, which will be blank when a single value is selected and will throw an error message when it is more than one/All.
Second measure to be added as a visual level filter, add Valid_selection_numeric = 1 as visual level filter on all the visuals. Which means, the data will be displayed only when a single value is selected.
Nothing but hiding the data for all.
Let me know if you have any questions.
Hope this helps.
Single select slicer is now available:
Hi Ilia,
Another option is after you create the slicer go to Format > Selection controls. Set Single Select to ON.
This doesn't completely do what you want it to do, since users can CTRL>Select to select more than one checkbox. But they won't be able to select more than one checkbox without using the CTRL button.
HTH,
Michele
@Ilia In power bi desktop you can set value for slicer and then publish report this will ensure your report in power bi service or anyone you share with will always have a value you selected for the slicer.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
99 | |
38 | |
37 |
User | Count |
---|---|
157 | |
120 | |
74 | |
72 | |
63 |