Forum Discussion
Anonymous
9 years agoNot applicable
Error importing theme file
I am attempting to import a custom theme file I created and I get the error: Error importing theme file There was a problem importing your theme file. Please try again or choose another file. ...
- Anonymous9 years ago
Anonymous,
You miss "#" for some data colors in your JSON file, please use the following JSON instead.{ "name":"ArK2", "dataColors":["#ffd809", "#3cb371", "#bab76d", "#962222", "#519488", "#26fd2c", "#ffffff", "#d79212", "#c5a236", "#d1d1d2", "#00ff00", "#057b10"], "background":"#ffffff", "foreground":"#f2f2f2", "tableAccent":"#5bd078" }
Regards,
Lydia
Anonymous
9 years agoNot applicable
Anonymous,
I can't reproduce your issue, do you use the latest version of Power BI Desktop(2.49.4831.521)? Could you please share your JSON file to us?
Regards,
Lydia
Anonymous
9 years agoNot applicable
Anonymous
Yes I am on the latest version of Desktop.
This is what I have on the file:
{
"name": "ArK2",
"dataColors": [ "#FFD809", "#3CB371", "#BAB76D", "#962222", "#519488", "#26FD2C", "#FFFFFF", "#D79A12", "C5A236", "D1D1D2", "00FF00", "#057BE0" ],
"background":"#FFFFFF",
"foreground": "#F2F2F2",
"tableAccent":"#5BD078"
}
Thank you for your time
- Anonymous9 years agoNot applicable
Anonymous,
You miss "#" for some data colors in your JSON file, please use the following JSON instead.{ "name":"ArK2", "dataColors":["#ffd809", "#3cb371", "#bab76d", "#962222", "#519488", "#26fd2c", "#ffffff", "#d79212", "#c5a236", "#d1d1d2", "#00ff00", "#057b10"], "background":"#ffffff", "foreground":"#f2f2f2", "tableAccent":"#5bd078" }
Regards,
Lydia