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 September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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