Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
MP_123
Microsoft Employee
Microsoft Employee

force user to select slicer

hi, please see image.

currently the slicer is defined to 'single select only' but the problem is when you select on the selected option, the option is deselects, and then it's like ' select all' option.

hope it was clear, is it is possible to disable the deselect option?

 

thanks!156.PNG

7 REPLIES 7
Anonymous
Not applicable

Hie, go to https://app.powerbi.com/visuals/ and import ChicletSlicer. This visual makes user to select atleast one value. Go to Format and select Forced Selection option.

 

Capture.PNG

 

Hope this helps. Smiley Very Happy

Anonymous
Not applicable

Thank you Ambre! That totally worked!


@Anonymous wrote:

Hie, go to https://app.powerbi.com/visuals/ and import ChicletSlicer. This visual makes user to select atleast one value. Go to Format and select Forced Selection option.

 

 

 

Hope this helps. Smiley Very Happy


 

I need to force a single selection for Year in my report and was so excited about the Chiclet slicer being able to do this.  But, I have found a couple of issues. 

 

  • If you set Multiple selection Off you can still selected multiple values in the slicer using Ctrl key
  • Also, you cannot Sync the slicer across the pages

Please let me know if there is a way around these issues using the Chiclet slicer or if I am misunderstanding how it is supposed to work. 

 

Thanks!

itayrom
Resolver II
Resolver II

Unfortunately, this option does not currently exist in Power BI. I saw several people posted ideas regarding this issue, so lets hope the visuals dev team is working on it.

 

In the meantime, you have two options I know of -

1. Implement a custom slicer visual with this behavior.

2. Use DAX expressions to prevent data from being displayed(and maybe show an appropriate message in a card visual, for example) when there isn't exactly one selection present in the slicer.

 

I experimented with both options, and while the second one works, it makes large reports work significantly slower in Power BI Service. The first option seems to work much better, but requires you to address several issues caused by the custom visuals sandboxing feature, such as automatically making an initial selection after the visual finished loading, because filters in sandboxed visuals are not saved when saving a report, etc...

MP_123
Microsoft Employee
Microsoft Employee

thanks! what do you mean by implementing? to write my own visual?

 

That is correct.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.