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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Disallow de-selecting option in slicer

I have a report which requires a user to selct the project via a slicer. The report then shows project updates for the selected project.

 

However, if a user de-selects the currently selected project in the slicer, this results in a 'select all' in the filter and the status updates for all projects are concatenated and displayed in the text boxes.

 

Is there a way to ensure only - and always - one project is selected in the slicer (or an alternative method of forcing single selection). Something like a radio button?

1 ACCEPTED SOLUTION

@Anonymous ,

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/Filtering-a-Demension-Filter/m-p/601883#M286404

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

If your requirement is to force a selection from the slicer, then download "ChicletSlicer" from the marketplace.

 

To change the orientation go to Format pane -> General -> Orientation (Horizontal/Vertical).

To enable always one selected value go to Format pane -> General -> Forced Selection (enable).

You can enable/disable multiple selections from the same menu.

 

Hope this is you are looking for.

 

Regards,

Pavan Vanguri.

Greg_Deckler
Super User
Super User

Not that I am aware of, I would modify your measures to check for HASONEVALUE and if that is false, then display something different than you would otherwise. 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi Greg, can i use HASONEVALUE to hide / disable the visuals on the page,or perhaps display a message,  if the slicer doesn't have one value selected?

 

This is the report i am working with: - 

 

Report Screenshot 3.png

@Anonymous ,

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/Filtering-a-Demension-Filter/m-p/601883#M286404

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I agree with Greg's response. 

 

Just also be aware of this item on user voice https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/12299949-single-selection-slicer where apparently work has started on adding a radio button like slicer 🙂

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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