Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello, I have been working to develop a custom PBI JSON Report Theme. I originally started using the 2.143 (May) Report Schema. I was able to create style presets for button/tile slicers using the "advancedSlicerVisual" visual tag. In order to set the background color of the buttons I was using the "fillCustom" tag. This originally had an "$id" tag to set the backgorund color of buttons for different states: default, hover, selected etc.
I had this working as expected, but since (I believe the July PBI desktop update) the theme file no longer colors these slicer buttons as expected, and instead appears to be replying on the system defaults. Below is a screenshot showing the "$id" tag no longer visible under the "fillCustom" tag when using the 2.145 report schema, and I am wondering if this could possibly be the issue.
Has anyone else experienced a similar problem or know more? Thanks!
Expected Result Below
Current Result Below
Hi @jdowden
This seems to be a change that came with the July (or May 2.145) Power BI update. The $id tag under fillCustom isn’t supported anymore - that’s likely why your custom colors for slicer buttons stopped working.
You’ll need to update your theme to use the newer "state:selected" format instead. Here's a basic working example:
Make sure you're using the latest theme schema (2.145 or above), and this should restore the button styling.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.