Forum Discussion
Unable to import theme
- 1 year ago
Report schema for January 2025 is available: https://github.com/microsoft/powerbi-desktop-samples/tree/main/Report%20Theme%20JSON%20Schema
As SignedUpToSay wrote few things to change.
In my case from:"background": {"solid": {"color": "#FFFFFF","transparency": 100}}to:"background":"#FFFFFF","transparency": 100
It seems I have exactly the same problem as ETom: I made changes to the schema successfully on 10.1.2025 and now PBI desktop gives me more than 100 different errors for the theme file.
I'm using the same January 2025 version: 2.139.1576.0 64-bit
I was expecting there would have been a new schema as this problem seems to be similar to this problem from 2023, but as ETom said, the latest schema is from Nov 2024, so long before I made the latest changes: https://community.fabric.microsoft.com/t5/Desktop/Custom-themes-are-broken/m-p/3109467
Any suggestions rajendraongole1 how to fix for example the first problem on the list:
#/visualStyles/*/*/title/0/subtitle must be string,number,boolean (type; matching schema #/properties/visualStyles/additionalProperties/properties/*/patternProperties/%5E.%2B%24/items/patternProperties/%5E.%2B%24/anyOf/0/type)
#/visualStyles/*/*/title/0/subtitle must have required property 'reverseDirection' (required; matching schema #/required)
#/visualStyles/*/*/title/0/subtitle must have required property 'hideText' (required; matching schema #/required)
My visualStyles subtitle looks like this in the theme file: