Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi guys,
I'm changin my report theme and got some visual actions changes in my json stylesheet:
"visualStyles": { "*": { "*": { "title": [{ "show": true, "fontColor": { "solid": { "color": "#FFFFFF" } }, "background": { "solid": { "color": "#52351f" } }, "allignment": "center", "fontSize": 11, "fontFamily": "Tahoma" }], "background": [{ "show": true, "color": { "solid" : { "color": "#FFFFFF" } }, "transparency": 0 }], "lockAspect": [{ "show": true }], "border": [{ "show": false }], "visualTooltip": [{ "type": "Default" }], "stylePreset": [{ "name": "None" }], "labels": [{ "fontColor": { "solid": { "color": "#000000" } } }] } }, "page": { "*": { "background": [{ "color": { "solid": { "color": "#e6e6e6" } }, "transparency": 0 }] } } }
Is there a possibility to change my fontfamily of the whole project?
Thanks in advance
Solved! Go to Solution.
Hi @miltenburger,
Please try to use following json code as theme, I move 'fontfamily' properties to global place to apply to all available visuals:
{ "name":"Change fontfamily", "visualStyles":{ "*":{ "*":{ "*":[ { "fontSize":11, "fontFamily":"Tahoma" } ], "title":[ { "show":true, "fontColor":{ "solid":{ "color":"#FFFFFF" } }, "background":{ "solid":{ "color":"#52351f" } }, "allignment":"center" } ], "background":[ { "show":true, "color":{ "solid":{ "color":"#FFFFFF" } }, "transparency":0 } ], "lockAspect":[ { "show":true } ], "border":[ { "show":false } ], "visualTooltip":[ { "type":"Default" } ], "stylePreset":[ { "name":"None" } ], "labels":[ { "fontColor":{ "solid":{ "color":"#000000" } } } ] } }, "page":{ "*":{ "background":[ { "color":{ "solid":{ "color":"#e6e6e6" } }, "transparency":0 } ] } } } }
Regards.
Xiaoxin Sheng
Hi @miltenburger,
Please try to use following json code as theme, I move 'fontfamily' properties to global place to apply to all available visuals:
{ "name":"Change fontfamily", "visualStyles":{ "*":{ "*":{ "*":[ { "fontSize":11, "fontFamily":"Tahoma" } ], "title":[ { "show":true, "fontColor":{ "solid":{ "color":"#FFFFFF" } }, "background":{ "solid":{ "color":"#52351f" } }, "allignment":"center" } ], "background":[ { "show":true, "color":{ "solid":{ "color":"#FFFFFF" } }, "transparency":0 } ], "lockAspect":[ { "show":true } ], "border":[ { "show":false } ], "visualTooltip":[ { "type":"Default" } ], "stylePreset":[ { "name":"None" } ], "labels":[ { "fontColor":{ "solid":{ "color":"#000000" } } } ] } }, "page":{ "*":{ "background":[ { "color":{ "solid":{ "color":"#e6e6e6" } }, "transparency":0 } ] } } } }
Regards.
Xiaoxin Sheng
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
68 | |
67 | |
41 | |
39 |
User | Count |
---|---|
48 | |
44 | |
29 | |
28 | |
28 |