The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.