Forum Discussion
Applying Visual Theme via JSON file
Hi guys,
I am trying to configure a corporate theme within Power BI and would like to set the title bar of all visual to be blue (#428BCA) with white (#FFFFFF). However I am struggling to find the correct property which will do this, I have tried combinations of the following but to no avail:
{
"name": "Corp Std",
"dataColors": ["#FF00FF", "#5B6B72", "#D72825", "#E57F29", "#12C705"],
"background": "#FFFFFF",
"foreground": "#428BCA",
"tableAccent": "#F21C75",
"visualStyles":{
"*":{
"*":{
"*":[{ "showTitle":true,
"color":"#428BCA",
"fontcolor":"#FFFFFF"}]
}
}
}
}
Any help with the JSON syntax would be greatly appreciated.
Thanks in advance
Hi derria,
Unfortunately, it doesn't support formatting the title of visuals through themes. Please see this similar thread: Using Theme to set Title Background & Font Color
Best regards,
Yuliana Gu
5 Replies
- MaryFAdvocate II
If you check out this website, it may help show you what you need. https://powerbi.tips/tools/color-theme-generator/
- derriaFrequent Visitor
Thanks MaryF.
Unfortunately, there is no property shown for the 'Title' on any of the visuals and I am starting to wondering if it is not feasible to set the title :smileysad:
- v-yulgu-msftMicrosoft Employee
Hi derria,
Please refer to below article for information about the correct format of the detailed JSON file:
Use Report Themes in Power BI Desktop
Best regards,
Yuliana Gu- derriaFrequent Visitor
Hi Yuliana,
I have previously read through the article you mentioned and hence why I posted onto the forum.
I am looking to create theme where any visual added will automatically default to having a blue title bar, as below:
However, I am unable to locate a property setting via the JSON file which can do this, and am looking for confirmation as to whether this is possible?
- v-yulgu-msftMicrosoft Employee
Hi derria,
Unfortunately, it doesn't support formatting the title of visuals through themes. Please see this similar thread: Using Theme to set Title Background & Font Color
Best regards,
Yuliana Gu