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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Is there a way to make a slicer option always selected and hide it so the user cannot deselect it

I have this slicer with three options

 

The user will always need to have the thrid option selected. Is there a way to make sure it is always selected and then hide it so the user cannot de select it?

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, for example you have a column just like this:

vkalyjmsft_0-1654244131485.png

Here's my solution. Create a new table.

vkalyjmsft_1-1654244301032.png

Make relationship between the two tables and set the filter direction to both.

vkalyjmsft_2-1654244337019.png

Put the slicer column from the new table into a slicer.

vkalyjmsft_3-1654244450800.png

Get the result. User can only filter the Filter1 and Filter2, Always On row is always on.

vkalyjmsft_4-1654244463855.png

vkalyjmsft_5-1654244474545.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

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

9 REPLIES 9
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, for example you have a column just like this:

vkalyjmsft_0-1654244131485.png

Here's my solution. Create a new table.

vkalyjmsft_1-1654244301032.png

Make relationship between the two tables and set the filter direction to both.

vkalyjmsft_2-1654244337019.png

Put the slicer column from the new table into a slicer.

vkalyjmsft_3-1654244450800.png

Get the result. User can only filter the Filter1 and Filter2, Always On row is always on.

vkalyjmsft_4-1654244463855.png

vkalyjmsft_5-1654244474545.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yanjiang-msft you give a solution for fixed values, My case I need a value to be always showed in any time selection (date slicer), I have a second slicer wiht Yes and No, so when I chose "No" I need to display all data regardless of the date selected in the Calendar Slicer. Thanks so far!

Anonymous
Not applicable

That is perfect thank you!

@v-yanjiang-msft  Nice solution. Easy to implement and use. 
@Anonymous Try to implement this in to your main data. See how difficult it is to create that second table. 









dhruvinushah
Responsive Resident
Responsive Resident

Hi @Anonymous , Varun, 
You can do so by simply hiding the slicer visualization from the page.
On your Power BI Desktop, go to the View Tab in the ribbon. Click on Selection button. 
It will open up the selection panel on the right of your report. Next Click on the eye button next to your slicer's name to hide that particular visual. 

Reference: 

dhruvinushah_0-1654013297150.png

 

You can also do this by applying the slicer selection as a page filter and hiding it from report users.
Reference: 

dhruvinushah_1-1654013389412.png

 

Hope this helps, tag me (@) if you need more help on it. Feel free to mark the answer as a solution if it helped you.
Thanks!

 

 









Anonymous
Not applicable

Hi 

 

Thanks, but this does not allow the user to then select the other options on the slicer. I have three select options. One must always be selected and the other two can be toggled on and off. Is this possible?

johnt75
Super User
Super User

You can set the column from the slicer as a filter to be used on all pages, and you can lock it too. Just drag the column on to the "Filters on all pages" section.

Anonymous
Not applicable

This then removes the ability for the user to select the other 2 options from the three

The options I have are 

- Filter1

- Filter2

- AlwaysOn

 

The user can select Filter1 or/and Filter2, but AlwaysOn needs to always be available for the user. Is this possible?

ribisht17
Super User
Super User

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.