Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have worked out how to add one extra custom font (our Brand's) to our Power BI Theme. But we have two that we use and I can't figure out how to add both so the appear in the dropdown list of fonts for any visual?
Here is what I am using for one font:
{
"name": "Custom Theme",
"dataColors": ["#3d4549", "#f9fafa", "#9ea2a4", "#ced0d2", "#f7ff1a", "#ff3838", "#00ccff", "#2aec2a"],
"background":"#FFFFFF",
"foreground": "#0c161c",
"tableAccent": "#0c161c",
"visualStyles":{"*":{"*":{"*":[{"fontSize":12,"fontFamily":"DAZN Trim","color":{"solid":{}}}]}}}
}
Any ideas?
Much appreciated,
Benji
Solved! Go to Solution.
Hi @Anonymous
I think a custom theme can only support 1 base font but you can specify different fonts for each visual thereby allowing you to mix fonts in the theme, like so
{
"name": "Custom Theme",
"dataColors": ["#3d4549", "#f9fafa", "#9ea2a4", "#ced0d2", "#f7ff1a", "#ff3838", "#00ccff", "#2aec2a"],
"background":"#FFFFFF",
"foreground": "#0c161c",
"tableAccent": "#0c161c",
"visualStyles":{
"tableEx": {
"*": {
"*": [
{
"fontFamily": "Abadi"
}
]
}
},
"pivotTable": {
"*": {
"*": [
{
"fontFamily": "Arial Black"
}
]
}
},
"*":{"*":{"*":[{"fontSize":12,"fontFamily":"DAZN Trim","color":{"solid":{}}}]}}}
}
Refer to
Use report themes in Power BI Desktop - Power BI | Microsoft Docs
Solved: Can we add custom font (.ttf type) in Power BI des... - Microsoft Power BI Community
Regards
Phil
Proud to be a Super User!
Hi @Anonymous
I think a custom theme can only support 1 base font but you can specify different fonts for each visual thereby allowing you to mix fonts in the theme, like so
{
"name": "Custom Theme",
"dataColors": ["#3d4549", "#f9fafa", "#9ea2a4", "#ced0d2", "#f7ff1a", "#ff3838", "#00ccff", "#2aec2a"],
"background":"#FFFFFF",
"foreground": "#0c161c",
"tableAccent": "#0c161c",
"visualStyles":{
"tableEx": {
"*": {
"*": [
{
"fontFamily": "Abadi"
}
]
}
},
"pivotTable": {
"*": {
"*": [
{
"fontFamily": "Arial Black"
}
]
}
},
"*":{"*":{"*":[{"fontSize":12,"fontFamily":"DAZN Trim","color":{"solid":{}}}]}}}
}
Refer to
Use report themes in Power BI Desktop - Power BI | Microsoft Docs
Solved: Can we add custom font (.ttf type) in Power BI des... - Microsoft Power BI Community
Regards
Phil
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
99 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |