Forum Discussion
Power BI Embedded Custom Color Themes in Reports do not promote
GibsonPBI,
Based on my test, the issue is caused by triple wildcard in the JSON file. It is recommended to update the theme file to be more specific with the visualStyles section, replacing one of the wildcards with a specific entity (visual type or formatting card name). Please check attached JSON file. Using it, custom theme will retain after we publish report to web.
"visualStyles": {
"*": {
"*": {
"*": [
I got response from PG:
As the Theme feature is in preview, and the triple wildcard is technically working as expected, there is no “fix” coming. We also identified a popular third-party Power BI Theme Generator website (non-Microsoft) and asked the owners to change their tool to avoid creating triple wildcards.
Regards,
Lydia
I downloaded the JSON you provided, applied it to my desktop version, re-published to the web. All was fine (as it was initially). The problem behavior for me still remains the same in the final portal that I am using to "embed" the pages with the "publish to web" option. If I change the visuals (new graph, etc) in my base file and do the various steps to "publish" them, those changed visuals do promote through to our customers portal (which is an "azurewebsites.net" solution). The issue is that the viusals lose the custom colors that the JSON file probvides, and the embedded report pages revert back to the default colors of Power BI. Is there something that the web guys I am working with need to do as well to make these custom colors follow all the way through to the embedded visuals?
- Anonymous8 years agoNot applicable
GibsonPBI,
Could you please share your PBIX file via Private Message? I will test it in my enviroment.
Regards,
Lydia