Forum Discussion
Theme in Power BI
Hi Analitika ,
As far as I know, there are many properties like color, background and so on in theme file. You need to give specific values to these properties to define the default values.
Example:
{
"name": "St Patrick's Day",
"dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"],
"background":"#FFFFFF",
"foreground": "#3A6108",
"tableAccent": "#568410"
}
Then you upload the theme file and use it in your report, Power BI will show based on default values automaticlly.
So I suggest you to define the default values for properties in theme file by yourself.
For reference:
How to create a Power BI theme with a JSON file
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes but when I defined new visual paratmeters it didn't change visual, not responded. Seems it doesn't override.
- Anonymous4 years agoNot applicable
Hi Analitika ,
Will this issue appear when you try other theme file?
Please refer to the video above to learn more details about How to create a Power BI theme with a JSON file.
For reference: Introduction to report theme JSON files
In a report theme JSON file, you define only the formatting that you want to change. Whatever you don't specify in the JSON file reverts to the Power BI Desktop default settings.
From the offical blog above, we know the theme file will only revert the setting which is not specified.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.