March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I've seen a couple of post regarding problems with certain fontfamilies in json themes (e.g. Segoe (Bold)): https://community.powerbi.com/t5/Desktop/Theming-Usage-of-the-quot-Segoe-Bold-quot-font/td-p/496531
I seem to have the exact same problem with the DIN font. The json file loads as it should, and the format box even says Font family: "DIN", but the numbers are actually showing up in Times New Roman. I'm using this for labels in column and bar charts.
Any hints on how to fix this? I really don't think there are any good alternatives to DIN when it comes to data labels.
Solved! Go to Solution.
Hmm, wasn't sure if my reply got posted or not so I'll try again...
@TerYeah
I had the exact same issue and it was driving me bonker! No Googling helped so I manually changed a bunch of the text options in the 'Customize current theme' section and then after making the changes I saved the theme directly out of Power BI and then had to sift through the file using VS Code. Of course it exports it all in a single line of code to drag this process out. Eventually I found what you posted:
{"fontFace":"wf_standard-font, helvetica, arial, sans-serif"}
In this case just use "wf_standard-font" to set it to DIN. Another way would be to just not declare a fontfamily when the default Power BI theme uses DIN (for example with the Card visualization) but I'm assuming you're doing it somewhere that DIN is not the default.
Anyway, hope that helps...even if it was many months ago you asked.
This:
Hmm, wasn't sure if my reply got posted or not so I'll try again...
@TerYeah
I had the exact same issue and it was driving me bonker! No Googling helped so I manually changed a bunch of the text options in the 'Customize current theme' section and then after making the changes I saved the theme directly out of Power BI and then had to sift through the file using VS Code. Of course it exports it all in a single line of code to drag this process out. Eventually I found what you posted:
{"fontFace":"wf_standard-font, helvetica, arial, sans-serif"}
In this case just use "wf_standard-font" to set it to DIN. Another way would be to just not declare a fontfamily when the default Power BI theme uses DIN (for example with the Card visualization) but I'm assuming you're doing it somewhere that DIN is not the default.
Anyway, hope that helps...even if it was many months ago you asked.
Glad to have found your reply! Have been racking my brain how to get the DIN working. Cheers!
Well that seems to work, thank you very much! Better late than ever, eh? 😀
The only minor catch with this method, is that the value in the format section is actually showing as wf_standard-font" and not "DIN", but I can totally live with that. Thanks again!
This worked for me! Many thanks.
Hi @TerYeah ,
About Fontfamily in json, you can refer this simliar issue:
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Thanks, @v-yingjl, the first one of these addresses the same problem that I have (even mentions that it happens to Font family DIN, as well). So what I need is a syntax similar to this, only for DIN.
{"fontFace":"'Segoe UI Bold', wf_segoe-ui_bold, helvetica, arial, sans-serif"}
@Anonymous
No, I still can't get this to work! Had to change the theme file to use a different (and not so good) label font.
@TerYeah , for Themes refer
https://docs.microsoft.com/en-us/power-bi/desktop-report-themes
https://www.wallstreetmojo.com/power-bi-themes/
Hi @TerYeah ,
Watch this video. Explains how can you change title size, color, font and backgrounds with the JSON theme file
https://www.youtube.com/watch?v=l3389KbpEtA
https://www.youtube.com/watch?v=94vwI66Gb9Q
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Thanks, but I obviously already know how to edit and import a json theme file, that's how I got here in the first place.
The problem is that this specific font family that I'm using won't work.
Someone posted a workaround for the same issue with a different font family, I'm wondering if there is a similar solution to this!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
86 | |
76 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |