Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Nacujo
Frequent Visitor

Error Importing Theme File in Power BI

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"
}

1 ACCEPTED SOLUTION
v-caliao-msft
Microsoft Employee
Microsoft Employee

@Nacujo,

 

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

View solution in original post

3 REPLIES 3
jjasper
Helper II
Helper II

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"
}

v-caliao-msft
Microsoft Employee
Microsoft Employee

@Nacujo,

 

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!!!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors