Forum Discussion
How to change theme (json) schema definitions?
I was trying to create a theme with a custom font size, when I then load in the .json file into the report I get the error message: #/textClasses/callout/fontSize must be <= 45 (maximum; matching schema #/definitions/fontSize/maximum).
I found the github page about these report schemas here: https://github.com/microsoft/powerbi-desktop-samples/tree/main/Report%20Theme%20JSON%20Schema, but cannot find a way to force the .json file/ power BI to use my edited report theme schema I have downloaded - I get an "Error importing theme file" when I include the line "$schema: "myeditedschema.json".
Is there a way to find and edit the default schema Power BI uses or a way to force it to use a different schema such that I can use a larger font?
Many thanks.
2 Replies
- AnonymousNot applicable
Hi LeverPowerCLiff ,
It seems like you’re trying to create a theme with a custom font size, but the maximum font size allowed is 45.
Edit the default schema: You can edit the default schema that Power BI uses by following these steps:
Go to the Power BI admin portal.
Select “Tenant settings”.
Under “Settings”, select “Report settings”.
Edit the default schema as per your requirement.Change settings for Power BI reports - Power BI | Microsoft Learn
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- LeverPowerCLiffFrequent Visitor
Thank you for your reply,
There is no report settings header or any settings refering to reports under Tenant settings.
Any advice?