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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DavidS524
Helper I
Helper I

Custom JSON Theme files are not working

Hi everyone,

 

My custom theme is no longer working after the recent updates, which I believe occurred in the February released. I get this error when trying to import it in PBI Desktop:

 

#/visualStyles/slicer must NOT have additional properties (additionalProperties; matching schema #/properties/visualStyles/properties/slicer/additionalProperties)

 

When I open the theme JSON file in VS Codeand compare it to the schema JSON as was suggested in a similar thread, I get the following errors:

  

4.jpg

 

Property multiRowCard is not allowed.

Property tableEx is not allowed.

Property pivotTable is not allowed.

 

I initially thought that these may have been renamed but the strange thing is that when browsing through the schema JSON, all of those are still included. If I delete all four, slicer, MultiRowCard, TableEx, and PivotTable, the theme will load. Ideally though I would like to keep them in with whatever changes are now required. Does anyone have any ideas on how to fix these? There was a similar thread on this topic which has been marked as solved as I guess that person was able to figure their errors out. So far I have been unable to find a solution for these.

 

Thank you!

1 REPLY 1
DavidS524
Helper I
Helper I

Do any Microsoft employees know if this is expected behavior based on a recent update, or is this a bug that will be addressed? I'm not sure if I should be trying to troubleshoot it further or not. I did not see any posts on the PBI Blog about changes to custom theme templates.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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