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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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