Forum Discussion
Rut
8 years agoFrequent Visitor
Error Importing Theme File in Power BI
I have cretaed a theme based on our company's corporate branding, however if I add the font modification for visuals it stops working and gets me and error message when importing it. JSON script is...
- 8 years ago
Anonymous Hi, in your code Color code "#A9EOEA" is invalid :) it should either be zero instead of O ("#A9E0EA") or a different Code. If you replace O by zero in this color it improts successfully, so this would be the correct code:
{
"name": "Theme1",
"dataColors": ["#003B64", "#FFF200", "#FFD500", "#A9E0EA", "#231F20", "#49494A", "#737474", "#9A9B9B", "#C3C4C4", "#E7E7E7", "#FFFFFF"],
"background":"#FFFFFF",
"foreground": "#A9E0EA",
"tableAccent": "#FFD500"
}
v-huizhn-msft
8 years agoMicrosoft Employee
Hi Rut,
Have you imported the file correctly? Please share the detailed error messsage for further analysis?
Best Regards,
Angelia
Rut
8 years agoFrequent Visitor
I go to Switch Theme -> Import theme and get this error:
The same file is importing sucessfully if I remove the font modification part.