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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Clear all slicers style 'disabled' option missing

Hello, i would like to create the following clear all slicer button..

If there are no slicers active in my report, the button looks like: 

Clau90_9-1705662639208.png

If there are slicers active, my button looks like this: 

Clau90_10-1705662665414.png

Preferably also my selection box would be blue instead of black:

Clau90_11-1705662678578.png

Does anyone know how to reach this effect? I used the (old) Slicer visual and the 'clear all filter' button. I feel like its not possible as there is no style>'disabled' option for the clear all filter button?

Thankyou!

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @Anonymous 

Insert a Shape
Add Text "Clear Filter"
Create a DAX measure (as per the column you are using in the slicer)

 

Measure = IF(
    ISFILTERED('table'[Year]),
    "BLUE","GRAY")

 

Go to Shape background FX logic and use the measure as Field Value

PijushRoy_1-1705669373318.png

 

Select the slicer and you can use button color change from GRAY to BLUE
As per my knowledge, you cant change black selected item to blue.


If your requirement is solved, please make sure to MARK AS SOLUTION and help other users find the solution quickly. Please hit the LIKE button if this comment helps you.

Thanks
Pijush
www.MyAccountingTricks.com 
https://www.youtube.com/MyAccountingTricks




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





View solution in original post

1 REPLY 1
PijushRoy
Super User
Super User

Hi @Anonymous 

Insert a Shape
Add Text "Clear Filter"
Create a DAX measure (as per the column you are using in the slicer)

 

Measure = IF(
    ISFILTERED('table'[Year]),
    "BLUE","GRAY")

 

Go to Shape background FX logic and use the measure as Field Value

PijushRoy_1-1705669373318.png

 

Select the slicer and you can use button color change from GRAY to BLUE
As per my knowledge, you cant change black selected item to blue.


If your requirement is solved, please make sure to MARK AS SOLUTION and help other users find the solution quickly. Please hit the LIKE button if this comment helps you.

Thanks
Pijush
www.MyAccountingTricks.com 
https://www.youtube.com/MyAccountingTricks




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.