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

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.

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!:
The Definitive Guide to Power Query (M)

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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