Forum Discussion
Error importing theme immediately after exporting it from another report
- 7 months ago
Microsoft’s schema documentation says that the JSON schema is “mostly additive” (Report theme JSON schema) and evolves over time, while older reports may still contain legacy property shapes. This implies that Power BI keeps backward-compatible structures internally so existing reports render correctly even if they don’t match the latest schema, but when you export a theme, Power BI writes out the theme exactly as stored in the PBIX, even if some properties are deprecated. Other user also reported that exported themes often include older structures like solid.color objects, which fail validation on re-import. if you see this below
Solved: Unable to import theme - Microsoft Fabric Community
I've found the failure. My question is why is PBI exporting JSON files that aren't compatible with PBI? Is this a known error? How would I know if it was?
- MasonMA7 months ago
Super User
Microsoft’s schema documentation says that the JSON schema is “mostly additive” (Report theme JSON schema) and evolves over time, while older reports may still contain legacy property shapes. This implies that Power BI keeps backward-compatible structures internally so existing reports render correctly even if they don’t match the latest schema, but when you export a theme, Power BI writes out the theme exactly as stored in the PBIX, even if some properties are deprecated. Other user also reported that exported themes often include older structures like solid.color objects, which fail validation on re-import. if you see this below
Solved: Unable to import theme - Microsoft Fabric Community