Power BI - Optimized JSON Theme
Every Power BI developer knows that manually creating a JSON theme is a time consuming task. Either you have to configure every visual seperately, or use the (*) symbol to style all visuals at the same time. Both ways are not ideal, because the first takes too much time (+ lots of code) and the second will also include visuals which you don't really want to style at all. The optimized way lies somewhere in the middle. That's where this file comes in.
This JSON file is basically separated in three categories, which will be explained below:
- Report-wide properties (colorpalette, fonts, background etc.)
- Common properties that all visuals share (title, background, border, shadow, header icons, tooltips, legend, X/Y axis etc.)
- Visual-specific properties of the visuals which need more customization to fully stylize.
To conclude, using this file will make sure your JSON is configured in the most efficient way possible. You first configure the report-wide properties, then modify the common properties that are used by all visuals and lastly edit the visual-specific properties to make sure every visual is properly stylized.
You can download this file and the explanation on how to use it for free. Enjoy and don't forget to check out my Power BI template file, where you can easily test your theme!
Optimized JSON file for Power BI theme creation