Forum Discussion
Power Bi reports Background color changed when Published
Hi Anonymous,
I'd like to suggest you remove background property from json theme file and try again.
Regards,
Xiaoxin Sheng
Hi Anonymous,
I tried removing the Background property from the json file but still seeing blue background after published. :(
- Poonam
- Anonymous8 years agoNot applicable
Hi Anonymous,
>> Is there anything else I need to do to remove the theme file?
You can click on change theme option and choose use default theme to restore default style.
>>Also, Does it matter the location of the .json file? Few days back I moved the file to different folder. Is that the cause of it?
Delete theme file not effect enabled theme effect, when you import theme file, it will also import json setting to power bi report.
For background color issue, I think it should related to below bold part:
{"name":"20171123_AKra", "background":"#FFFFFF","foreground":"#124191","tableAccent":"#124191", "dataColors":["#124191","#00C9FF","#001135","#FF3154","#E61E1E","#E6AA1E","#FFFB00","#4BDD33","#82BE1E","#641464", "#EDF2F5","#BEC8D2","#98A2AE","#4D5766","#273142"], "visualStyles": {"*":{"*":{"*":[{"fontSize":10,"fontFamily":"Arial","color":{"solid":{"color":"#124191"}}}], "general":[{"responsive":true}]}}, "card":{"*":{"labels":[{"fontSize":28}],"categoryLabels":[{"fontSize":14}]}} }}Please use below code to replace original one and test to re-publish:
{ "name":"20171123_AKra", "background":"#FFFFFF", "dataColors":[ "#124191", "#00C9FF", "#001135", "#FF3154", "#E61E1E", "#E6AA1E", "#FFFB00", "#4BDD33", "#82BE1E", "#641464", "#EDF2F5", "#BEC8D2", "#98A2AE", "#4D5766", "#273142" ], "visualStyles":{ "*":{ "*":{ "*":[ { "fontSize":10, "fontFamily":"Arial" } ], "general":[ { "responsive":true } ] } }, "card":{ "*":{ "labels":[ { "fontSize":28 } ], "categoryLabels":[ { "fontSize":14 } ] } } } }Regards,
Xiaoxin Sheng