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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Frequent Visitor

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
Frequent Visitor

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.