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
Hi,
I am trying to do a customized theme and was trying out the templates provided on the website here: https://docs.microsoft.com/en-us/power-bi/desktop-report-themes
However when I tried to use the textclasses code provided, powerbi failed to load the json file.
This is the exact code I used that is found in the website:
{"name": "Custom Theme",
"textClasses":
{"callout": {"fontSize": 45, "fontFace": "wf_standard-font", "color": "#252423"},
"title": {"fontSize": 12, "fontFace": "wf_standard-font", "color": "#252423"},
"header": {"fontSize": 12, "fontFace": "Segoe UI Semibold", "color": "#252423"},
"label": {"fontSize": 10, "fontFace": "Segoe UI", "color": "#252423"}}}
Can someone please help with this?
Thank you!
Hi @Anonymous
Hi @Anonymous
I make a test that paste the "text class" code from this site into a text file and save this file as a .json file,
then import the theme from the "import theme", you can see the card data format is changed as the custom theme written.
Hi,
That's exactly what I did, but the powerbi did not accept this code at all:
{
"name": "Custom Theme",
"textClasses": {
"callout": {
"fontSize": 45,
"fontFace": "wf_standard-font",
"color": "#252423"
},
"title": {
"fontSize": 12,
"fontFace": "wf_standard-font",
"color": "#252423"
},
"header": {
"fontSize": 12,
"fontFace": "Segoe UI Semibold",
"color": "#252423"
},
"label": {
"fontSize": 10,
"fontFace": "Segoe UI",
"color": "#252423"
}
}
}
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 |