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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not 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.

 

I can switch to themes downloaded from the custom theme gallery just fine but whenever I try to import one that I have made I receive this same error. I have no idea what I am doing wrong? I am saving my custom themes as JSON files on notepad++. I have also tried taking successful custom themes and simply editing them with my desired colors which still results in this error.

1 ACCEPTED SOLUTION

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-yuezhe-msft

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

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.