Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I've seen a lot of other posts about theme import errors but after checking my very limited code I can't seem to find what's throwing this off. I know it's something with the textClasses portion but everything looks in line based on their article. Any help/insight would be helpful...
{
"name": "Standard",
"dataColors": ["#C4C7C8", "#828A8F", "#252423","#92BFCD", "#125687", "#00694E","#575A5D","#000000"],
"foreground": "#00694E",
"foregroundNeutralSecondary": "#92BFCD",
"foregroundNeutralTertiary": "#828A8F",
"background": "#FFFFFF",
"backgroundLight": "#C4C7C8",
"backgroundNeutral": "#828A8F",
"tableAccent": "#00694E",
"textClasses":
{
"callout": {
"fontSize": 9,
"fontFace": "Arial",
"color": "#FFFFFF"
},
"title": {
"fontSize": 14,
"fontFace": "Arial",
"color": "#000000"
},
"header": {
"fontSize": 12,
"fontFace": "Arial Bold",
"color": "#00694E"
},
"label": {
"fontSize": 10,
"fontFace": "Arial",
"color": "#000000"
}
}
}
Hey, are you still having problems with this?
I copied the json and it imports okay for me, so the only thing I could think of is that you were accidentally on an earlier release from before the color/text classes were implemented.
Hi Robert,
I am also facing the same issue. I have also updated my powerBI but the problem persists. Is there any other solutions to this?
Would appreciate your help thanks!
Hi @davebrown89 ,
You may refer to the links:
https://community.powerbi.com/t5/Desktop/Error-Importing-Theme-File-in-Power-BI/td-p/304508 ,
https://community.powerbi.com/t5/Desktop/Error-importing-custom-theme/td-p/495407 ,
https://docs.microsoft.com/en-us/power-bi/desktop-report-themes
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-xicai I checked those and read through the support article a few times now but I cannot seem to figure out why the text class portion of the code is failing... my hex codes seem to be formatted correctly and I cannot simply delete that portion of my code as I need to comply with my company's branding requirements.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |