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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
julienvdc
Helper III
Helper III

Enabling slicer once other slicer was selected

Is there a way to get a slicer to be disabled (un-usable) until another slicer has been used/selected? Or pehaps hide the slicer when the other hasn't been used?

1 ACCEPTED SOLUTION

Hi @julienvdc ,

 

Select the slicer and go format -> background ->fx

vchenwuzmsft_0-1645085243128.png

Or you can let the slicer have no data when another slicer unselected.

 

create a measure like the following:

F_month = IF(ISFILTERED('Table'[year]),1,0)

And put the measure in the filter pane of month slicer and set the item is 1, apply the filter.

vchenwuzmsft_1-1645086270270.png

if unselect year, there no month in the month slicer.

Pbix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

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

4 REPLIES 4
amitchandak
Super User
Super User

@julienvdc ,  You have the option to have a transparent color. But item color does not have a conditional formatting

option

 

Also overlapping card will not work.

We usually create these type measure and use transparent color and opposite of it to create such

 

IF(ISFILTERED(Table[ID]),"White","#FFFFFF00")


IF(ISFILTERED(Table[ID]) && hasonevalue(Table[ID]),"White" ,"#FFFFFF00")


IF(ISFILTERED(Table[ID]) && hasonevalue(Table[ID]) && max(Table[ID]) =1,"White" ,"#FFFFFF00")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hey @amitchandak thanks for your reply 😉

(basically I want my users to be using the slicers in a specific order)

I am just not sure where you suggest I should be using/placing these measures?

I was wondering if with the bookmark/selection pane dynamic I could achieve this?

Hi @julienvdc ,

 

Select the slicer and go format -> background ->fx

vchenwuzmsft_0-1645085243128.png

Or you can let the slicer have no data when another slicer unselected.

 

create a measure like the following:

F_month = IF(ISFILTERED('Table'[year]),1,0)

And put the measure in the filter pane of month slicer and set the item is 1, apply the filter.

vchenwuzmsft_1-1645086270270.png

if unselect year, there no month in the month slicer.

Pbix in the end you can refer.

Best Regards

Community Support Team _ chenwu zhu

 

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

Hey @v-chenwuz-msft the second solution with the filter works great!

 

I did not however understand the first option; the one playing with the background colour. If you have time at some point, I'd be curious to see what it is 🙂

 

Thanks for the help!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.