Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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 @yenngee
Hi @yenngee
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"
}
}
}
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |