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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
TanHY
Helper I
Helper I

Slicer JSON theme

Hi Power BI Wizards,

 

Would like to get some sharing from the community:
Are we able to change the colour of the "Clear Selections" rubber in slicer visual? As I studied the schema, seems like t non of the fields are pinpoint to this , not sure is there an alternative or I might missed out something. Thanks for the helps!

TanHY_0-1723684189575.png

 

2 ACCEPTED SOLUTIONS
OwenAuger
Super User
Super User

Hi @TanHY 

It appears that the eraser stroke colour on the core Slicer visual is controlled by the "foregroundNeutralSecondary" top-level property.

 

So, this would be a valid theme setting that colour to red:

 

{
  "name": "RedEraser",
  "foregroundNeutralSecondary": "#FF0000"
}

 

 

Alternatively in Power BI Desktop under Customize theme > Name and colors > Advanced > Second-level elements

OwenAuger_0-1723688982380.png

I couldn't find any other options to control this colour, and no options to control the "fill" of the eraser, but something might exist 🙂

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

Anonymous
Not applicable

Thanks for the reply from OwenAuger , please allow me to add some more information:

 

Hi  @TanHY ,

 

As far as I know, Power BI currently does not support changing only the eraser color in the slicer. The closest option is to set it in the Customize theme, but the Second-level element includes Slicer slider color, Slicer item font color, and Slicer outline color. Therefore, when making changes, the colors of all three parts will be changed.

Refer to:

Use report themes in Power BI Desktop - Power BI | Microsoft Learn

 

You can submit an idea for it at Home (microsoft.com) and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.

 

Best Regards,

Liu Yang

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

3 REPLIES 3
Anonymous
Not applicable

Thanks for the reply from OwenAuger , please allow me to add some more information:

 

Hi  @TanHY ,

 

As far as I know, Power BI currently does not support changing only the eraser color in the slicer. The closest option is to set it in the Customize theme, but the Second-level element includes Slicer slider color, Slicer item font color, and Slicer outline color. Therefore, when making changes, the colors of all three parts will be changed.

Refer to:

Use report themes in Power BI Desktop - Power BI | Microsoft Learn

 

You can submit an idea for it at Home (microsoft.com) and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.

 

Best Regards,

Liu Yang

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

OwenAuger
Super User
Super User

Hi @TanHY 

It appears that the eraser stroke colour on the core Slicer visual is controlled by the "foregroundNeutralSecondary" top-level property.

 

So, this would be a valid theme setting that colour to red:

 

{
  "name": "RedEraser",
  "foregroundNeutralSecondary": "#FF0000"
}

 

 

Alternatively in Power BI Desktop under Customize theme > Name and colors > Advanced > Second-level elements

OwenAuger_0-1723688982380.png

I couldn't find any other options to control this colour, and no options to control the "fill" of the eraser, but something might exist 🙂

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Thanks Owen for your prompt replies. I also knew that the secondary color controlled the color, but it will change other visual settings as well. Hopefully, Power BI will integrate the pinpoint JSON into it in the future.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.