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

Power BI is turning 10! Letโ€™s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
pauliinah
Frequent Visitor

Customize theme in Power BI Desktop - filter cards font and icon color

In Power BI Dekstop's Customize theme you can customize the Filter pane and select font and icon color for available and applied filter cards. However the selection does nothing and always reverts back to black, and checking the reportThemeSchema I didn't find a setting for the filter card font and icon color at all. Did I miss something on the schema? Should the setting work? And if not, why is it in the customize theme options?

1 ACCEPTED SOLUTION
KNP
Super User
Super User

Just in case it's not obvious, you can add another block like below for the formatting to be added to the filters that are "Applied".

 

          {
                    
            "backgroundColor": {
              "solid": {
                "color": "#A4BBFF"
              }
            },
            "border": true,
            "borderColor": {
              "solid": {
                "color": "#6dff57"
              }
            },
            "foregroundColor": {
              "solid": {
                "color": "#4723f7"
              }
            },
            "inputBoxColor": {
              "solid": {
                "color": "#8EA049"
              }
            },
            "textSize": 24,
            "$id": "Applied"
          }
Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

View solution in original post

3 REPLIES 3
pauliinah
Frequent Visitor

I started a new file and in that file the setting stuck. And I could save it to my existing theme as well. Some kind of  transient problem it seems. Thank you!

KNP
Super User
Super User

Just in case it's not obvious, you can add another block like below for the formatting to be added to the filters that are "Applied".

 

          {
                    
            "backgroundColor": {
              "solid": {
                "color": "#A4BBFF"
              }
            },
            "border": true,
            "borderColor": {
              "solid": {
                "color": "#6dff57"
              }
            },
            "foregroundColor": {
              "solid": {
                "color": "#4723f7"
              }
            },
            "inputBoxColor": {
              "solid": {
                "color": "#8EA049"
              }
            },
            "textSize": 24,
            "$id": "Applied"
          }
Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x
KNP
Super User
Super User

It should work, can you share your JSON theme file?

KNP_0-1731001913193.png

 

 

 

Here's this gorgeous theme for reference...๐Ÿ˜‚

{
  "name": "debug",
  "visualStyles": {
    "*": {
      "*": {
        "filterCard": [
          {
            "backgroundColor": {
              "solid": {
                "color": "#ff56ff"
              }
            },
            "border": true,
            "borderColor": {
              "solid": {
                "color": "#6dff57"
              }
            },
            "foregroundColor": {
              "solid": {
                "color": "#4723f7"
              }
            },
            "inputBoxColor": {
              "solid": {
                "color": "#f72323"
              }
            },
            "textSize": 24,
            "$id": "Available"
          }
        ],
        "outspacePane": [
          {
            "backgroundColor": {
              "solid": {
                "color": "#6b2725"
              }
            },
            "border": true,
            "borderColor": {
              "solid": {
                "color": {
                  "expr": {
                    "ThemeDataColor": {
                      "ColorId": 0,
                      "Percent": 0
                    }
                  }
                }
              }
            },
            "foregroundColor": {
              "solid": {
                "color": "#23d3e7"
              }
            },
            "headerSize": 26,
            "inputBoxColor": {
              "solid": {
                "color": {
                  "expr": {
                    "ThemeDataColor": {
                      "ColorId": 1,
                      "Percent": 0.2
                    }
                  }
                }
              }
            },
            "width": 160
          }
        ]
      }
    }
  }
}

 

The important part that may have been missing to get it to work is the "$id": "Available" (or "Applied").

I hope this helps.

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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

OSZAR »