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
Anonymous
Not applicable

Power BI custom Theme JSON file error

Hello,
Can anyone help me to correct the below Custom Theme error ? I need the visual styles and the fontfamily, but this code is throwing an error while importing.

 

{"name":"MS","dataColors":["#FF0000","#555555","#8ECCD9","#C3D861","#8C98C8","#E5863F","#D0AD48","#A578A3","#DEDEDE"],"background":"#FFFFFF","foreground":"#3A6108","tableAccent":"#568410","visualStyles":{"*":{"*":{"*":[{"color":{"solid":{}}}]}},"barChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"columnChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"clusteredBarChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"clusteredColumnChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"hundredPercentStackedBarChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"hundredPercentStackedColumnChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"AreaChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#FF0000","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"donutChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"gauge":{"*":{"labels":[{"color":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"card":{"*":{"labels":[{"color":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}}}},[{"fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}],"page":{"*":{"outspace":[{"color":{"solid":{"color":"#F2F2F2"}}}]}}}}

2 REPLIES 2
Anonymous
Not applicable

Hi, I have tried your solution and have rectified this, but it is still not working -

{"name":"MS","dataColors":["#FF0000","#555555","#8ECCD9","#C3D861","#8C98C8","#E5863F","#D0AD48","#A578A3","#DEDEDE"],"background":"#FFFFFF","foreground":"#3A6108","tableAccent":"#568410","visualStyles":{"*":{"*":{"*":[{"color":{"solid":{}}}]}},"barChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"columnChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"clusteredBarChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"clusteredColumnChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"hundredPercentStackedBarChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"hundredPercentStackedColumnChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"AreaChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#FF0000","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"donutChart":{"*":{"legend":[{"labelColor":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"gauge":{"*":{"labels":[{"color":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}},"card":{"*":{"labels":[{"color":{"solid":{"color":"#E5863F","fontSize":12,"fontFamily":"Helvetica Neue","color":{"solid":{}}}}}]}}},"textClasses": {
"callout": {
"fontSize": 45,
"fontFace": "Helvetica Neue",
},
"title": {
"fontSize": 16,
"fontFace": "Helvetica Neue"
},
"header": {
"fontSize": 16,
"fontFace": "Helvetica Neue"
},
"label": {
"fontSize": 16,
"fontFace": "Helvetica Neue",
}
},"page":{"*":{"outspace":[{"color":{"solid":{"color":"#F2F2F2"}}}]}}}

 

 

amitchandak
Super User
Super User

@Anonymous , I check on json formatter, There is an error after this one. Excat error, I am not sure, if possible regenenate the json

 

"card": {
"*": {
"labels": [{
"color": {
"solid": {
"color": "#E5863F",
"fontSize": 12,
"fontFamily": "Helvetica Neue",
"color": {
"solid": {}
}
}
}
}]
}
}
}

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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