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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Ristaul
Frequent Visitor

Issues w/ Custom Theme Import

I am having issues with my custom theme import. I created a JSON file that I believe is formatted correctly (see below), but I am getting the standard error " There was a problem importing your theme file. Please try again or choose another file". I also have the latest and greatest 64 bit version of PBI installed on a windows machine.

 

{
"name": "MyColors",
"dataColors": ["#2b8944", "#41c363", "#90dca4", "#d0f0d8", "#d2d2d2", "#919191", "#80dceb", "#ffd100", "#fff5353"],
"background":"#ffffff",
"foreground": "#d2d2d2",
"tableAccent": "#919191"
}

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Ristaul ,

By my test and research, the issue should be casued by your last data color "#fff5353" which may have syntax error, it has 7 characters.

If you correct it to be 6 charachters, I'm afraid it will be work.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
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

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Ristaul ,

By my test and research, the issue should be casued by your last data color "#fff5353" which may have syntax error, it has 7 characters.

If you correct it to be 6 charachters, I'm afraid it will be work.

Best Regards,

Cherry

 

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

You are absolutley right! I was so busy going through the syntax, I missed the typo; thank you!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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