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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jdowden
New Contributor

Custom JSON Report Theme - advancedSlicerVisual no $id ?

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. 

jdowden_0-1753972994935.png

 

Has anyone else experienced a similar problem or know more? Thanks!

 

Expected Result Below

jdowden_2-1753973210721.png

 

Current Result Below

jdowden_1-1753973086445.png

 

 

1 REPLY 1
rohit1991
Honored Contributor

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:

 
rohit1991_0-1754012068339.png

 

 Make sure you're using the latest theme schema (2.145 or above), and this should restore the button styling.

 


Did it work? โœ” Give a Kudo โ€ข Mark as Solution โ€“ help others too!

Helpful resources

Announcements
Top Solution Authors
Users online (11,588)