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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
lawrenceabith
Helper IV
Helper IV

How I change in the slicer the color of selected button?

Dear all,

 

How I change in the slicer the color of selected button? 

We need to change this color for blank because our backgound is black. We need to do this in the Multi-select and single select option of Power BI slicer. How we do this?

lawrenceabith_2-1643117469432.png

Many thanks,

 

2 ACCEPTED SOLUTIONS
v-henryk-mstf
Community Support
Community Support

Hi @lawrenceabith ,

 

According to your description, it can't be changed by the normal slicers. I think you can try to change it using Chiclet Slicer, these slicers consist of buttons arranged horizontally to be used efficiently. The reference is as follows:

 

vhenrykmstf_0-1643707466530.png

vhenrykmstf_1-1643707488513.png


This blog will provide you with more help.
Power BI Custom Visuals - Chiclet Slicer (pragmaticworks.com)


Best Regards,
Henry


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

Jolien
Advocate I
Advocate I

Just found out this is possible with the "Slicer (new)" visual.

Jolien_1-1702028231675.png

 

Jolien_0-1702028195668.png

 

View solution in original post

11 REPLIES 11
MyroslavaM
Advocate I
Advocate I

You can actually adjust the color of selected item for Slicer by editing the theme or better to configure the theme by yourself. Adding screen shots.
Picture (6).pngPicture.png

Jolien
Advocate I
Advocate I

Just found out this is possible with the "Slicer (new)" visual.

Jolien_1-1702028231675.png

 

Jolien_0-1702028195668.png

 

Excellent @Jolien! Thanks a lot!

Anth_NC_QN
Frequent Visitor

hi!

Any news on how to change selection boxes in another colour ?

v-henryk-mstf
Community Support
Community Support

Hi @lawrenceabith ,

 

According to your description, it can't be changed by the normal slicers. I think you can try to change it using Chiclet Slicer, these slicers consist of buttons arranged horizontally to be used efficiently. The reference is as follows:

 

vhenrykmstf_0-1643707466530.png

vhenrykmstf_1-1643707488513.png


This blog will provide you with more help.
Power BI Custom Visuals - Chiclet Slicer (pragmaticworks.com)


Best Regards,
Henry


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

Thanks!!! Chiclet slicer is great!!

lawrenceabith
Helper IV
Helper IV

Hi @amitchandak,

I didn't get very far. What would be the option to change? Do you have the json documentation?

 
Thanks,
amitchandak
Super User
Super User

@lawrenceabith , I do not see any option for that in items(used to change item color of slicer), But I see it does respond to the theme, no specific option for slicer there.

 

You can play around with json. I see this option there

"slicer":{"*":{"items":[{"background":{"solid":{"color":"#3a3a3a"}}}],"numericInputStyle":[{"background":{"solid":{"color":"#3a3a3a"}}}]}}

Hi @amitchandak,

 

We will try. 

 

Thanks a lot!!

Hi,

Did you succeed? Can you share the solution?

Thanks!

You can do it (change the color of selected value in slicer), by editing the theme colors.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors