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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Clau90
New Member

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 @Clau90 

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 @Clau90 

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors