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
cyclist007
Responsive Resident
Responsive Resident

How to have the same color for the selected value of slicer as those in slicer list?

I created a slicer on a canvas with dark background. When the slicer expands it lands in to the below visuals that have a white background. 

 

I am struggling with a few things:

1. I cannot set the color of the selected value of the slicer

2. I cannot keep the slicer height fixed to say length of the list (or even hard-code it to a fixed number of rows)

 

The selected value is black:

delete.PNGdelete2.PNG

 

 

Any suggestions?

1 ACCEPTED SOLUTION

Yeah, just found it is requested feature (idea). Would request all to vote to get it higher up!

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/33894520-make-slicers-dropdown-me...

View solution in original post

7 REPLIES 7
jtownsend21
Responsive Resident
Responsive Resident

I think the following is what you are asking about. 

 

For the hight, Formatting Tab --> General --> Height

Capture2.PNG

For the selection color: Formatting Tab --> Items --> Font Color: 

Capture.PNG

I understand the formatting pane - that allows you to set the color for the different slicer options & that same color is chosen for the 'Selected value' (i was hoping to see a way to choose a different color for the selected value as it does that if you use the default color). Anyways that is something I can live with.

 

The height of drop down window of the slicer cannot be set (in General tab). In my slicer i have only two to four possible options, but slicer dropdown shows me a lot of white space as seen belowdelete2.PNG

@cyclist007 Ahh, sorry about that. I misunderstood. As far as I know that is a limitation of the product and there is not currently a way to set the size or have it dynamically change. 

Yeah, just found it is requested feature (idea). Would request all to vote to get it higher up!

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/33894520-make-slicers-dropdown-me...

parry2k
Super User
Super User

@cyclist007 you have to change font and background color of slicer items in format pane

 

image.png



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Yes but it does not let you actually select (a different) color for the selected value. It does when you keep the font color default. 

 

Also the the un-required extra height seems to be more bothersome

@cyclist007 i'm not fully sure what your mean. You can set whever item color you want to choose, and that will be selected and drop down items list color. Not fully clear what you exact question is?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.

Top Solution Authors