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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
sabilahmed
Resolver I
Resolver I

Filter Pane Custom Theme (Background is black)

I'm trying to change the below filter pane background as white and font as black in my custom theme:

sabilahmed_0-1664630043030.png

But I can't figure it out. I have set everything to background as white and font as black in the filterpane section of the theme, but nothing is working. Please help

 

1 ACCEPTED SOLUTION

@sabilahmed That isn't M code. That is JSON theme code. So you need to add that to the correct spot in your theme file. I am posting the full theme file export from the theme generator I used. Search for 111111 in the theme file and that is the background color of the filters pane. See file attachment below signature.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@sabilahmed That setting is available according to Enterprise DNA's themes generator. 

 

"outspacePane":[{"backgroundColor":{"solid":{"color":"#000000"}},"transparency":0,"foregroundColor":{"solid":{"color":"#252423"}},"titleSize":12,"headerSize":9,"checkboxAndApplyColor":{"solid":{"color":"#F2C811"}}}]

 

Check out my article on Theme Generators: Power BI Theme Generators - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thanks for getting back to me @Greg_Deckler 

 

So does this mean I have to change the M code to get rid of the black background shown in my image? Isn't there a way I can alter this in the "Customize theme" section?

I'm simply looking for an easy option. There has to be a way no?

@sabilahmed That isn't M code. That is JSON theme code. So you need to add that to the correct spot in your theme file. I am posting the full theme file export from the theme generator I used. Search for 111111 in the theme file and that is the background color of the filters pane. See file attachment below signature.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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