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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Gazzer
Resolver II
Resolver II

Custom JSON Themes break Table and Matrix Styles

If you create a custom JSON theme which applies formatting to tableEx or Matrix, the formatting applies to ALL styles which makes the style presets worthless.

I have asked how to write the JSON to make this work (Configure a JSON Theme for Different Table Style Presets ), but nobody seems to know the answer, or even have any suggestions about where to look for the answer. 

Based on reading the validation schema, the way I would expect it to work is simply not allowed.

It should be possible to replace the "*" in tableEx with the name of the style. This used to work (apparently), but the schema does not allow it.

 

 

"tableEx": {
   "Minimal": {...

 

 

People have suggested using the stylePreset tag, but this simply defines which style is chosen by default.

If I am right and this is broken, it needs to be fixed.

If I am wrong and it is possible, then it needs to be explained and documented.

Either way, please can we have a solution.

2 REPLIES 2
Gazzer
Resolver II
Resolver II

I am really disappointed that nobody (including Microsoft) seems to be able to answer this.

According to MS documentation:
"For the visualName and cardName sections, use a specific visual and card name. Currently, the styleName is always an asterisk (*), but in a future release you'll be able to create different styles for your visuals and give them names (similar to the table and matrix style feature)."

This suggests that this should work, and it briefly did a few years ago.

 

"tableEx": {
   "Minimal": {...

 

Come on Microsoft, get one of your clever developrs to take a few minutes out of their busy day and either fix it or tell us how it works. Please, I'm begging.

novelnova
Regular Visitor

I have the same problem, any help much appreaciated.
Worked fine in earlier versions

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.