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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

9 REPLIES 9
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!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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