Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I am trying to import a custom these and i am receiving the following error from Power BI: "There was a problem importing your theme file. Please try again or choose another file." I can't figure out why I am receiving this error. Other these seem to work but my custom one doesnt and it appears to be set up correctly. I have tried using the power bi color theme generator AND notepad++ and get the same message either way. Thank you for your help! File below:
{
"name": "HFI Theme",
"dataColors": ["#ffce51", "#f7931d", "#67cdf2", "#b0d355", "#652c90", "#492683", "#00471af", "#6ba539"],
"background":"#FFFFFF",
"foreground": "#00471af",
"tableAccent": "#6ba539"
}
Solved! Go to Solution.
You have 7 characters in one of your colors.
{
"name": "HFI Theme",
"dataColors": ["#ffce51", "#f7931d", "#67cdf2", "#b0d355", "#652c90", "#492683", "#00471af", "#6ba539"],
"background":"#FFFFFF",
"foreground": "#00471af",
"tableAccent": "#6ba539"
}
Please change it and then try it again.
Regards,
Charlie Liao
I am getting when importing this file into Power BI. Not sure where my error is.
{
"name": "Schlegel Villages",
"dataColours": ["#899064", "#737B4C", "#FFFFFF", "#63513D", "#7F9C90", "#4F758B", "#AB5C57", "#B9975B", "#D2CE9E"],
"background": "#D2CE9E",
"foreground": "#7F9C90",
"tableAccent": "#AB5C57"
}
You have 7 characters in one of your colors.
{
"name": "HFI Theme",
"dataColors": ["#ffce51", "#f7931d", "#67cdf2", "#b0d355", "#652c90", "#492683", "#00471af", "#6ba539"],
"background":"#FFFFFF",
"foreground": "#00471af",
"tableAccent": "#6ba539"
}
Please change it and then try it again.
Regards,
Charlie Liao
Thank you! That fixed it!!!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.