Forum Discussion
Import Custom Theme Error
I am trying to import a custom theme into my Power BI report, but I keep getting an error message
{
"name":"Prueba",
"dataColors":["#7030A0","#A421F9","#380091","#4472C4"],
"background":"#B3B0AD",
"foreground":"#C8C6C4",
"tableAccent":"#A421F8"
}
5 Replies
- ToddChittSuper User
I copied and pasted your JSON into Notepad++ and did a Format as JSON. There was some wierd character string at the end of the "backgroud" node:
- AnonymousNot applicable
thanks for you replay , but I tried with note ++ and in my case there is no this no additional characters
- ToddChittSuper User
Did you try to format the pasted text as JSON?
Another possible solution, however tedious it is to work, is to start small with your custom JSON theme. Start with name and dataColors only. Apply that. If that works, create a COPY and add to that background. (But save your original in case this edited copy bombs out). AND, when making changes, do NOT copy and paste, type them out manually so as to avoid hidden special characters.
- AnonymousNot applicable
Thanks you , I was able to solve it with your help
- ToddChittSuper User
Please consider marking replies as a Solution to your issue so others facing similar problems can find answers that worked.
And if you don't ming my asking: what was the action(s) that fixed it?