Forum Discussion
Custom Font in Power BI Embed Not Displaying for End Users
Hi Community,
I'm embedding a Power BI report using Power BI Embedded, and I’ve applied a custom font by modifying the theme with a custom JSON file.
Here’s what I did:
- Added the custom font in the textClasses section of the theme JSON.
- Applied it in Power BI Desktop – works fine on my machine.
- Published and embedded the report via Power BI Embedded.
- However, end users don't see the custom font, and it defaults to something else.
My Goal:
Have the report render the custom font consistently for all viewers when embedded.
What I Tried:
- Verified the theme is applied correctly.
- Font is installed on my local machine.
- Tested in different browsers.
- Ensured users have access to the embed link.
Question:
How can I ensure that custom fonts are rendered correctly for all users in an embedded Power BI report?
Is there a way to bundle the font or load it via a CDN?
Any help or best practices would be appreciated.
Thanks!
Hi sandeep07 You can try by hosting the font on a CDN or public URL. Update your theme JSON to reference the font's URL in the externalFonts section. Ensure the server hosting the font supports the correct MIME type and allows CORS.
3 Replies
- Akash_VarunaSuper User
Hi sandeep07 You can try by hosting the font on a CDN or public URL. Update your theme JSON to reference the font's URL in the externalFonts section. Ensure the server hosting the font supports the correct MIME type and allows CORS.
- v-saisrao-msftCommunity Support
Hi sandeep07,
I wanted to check if you had the opportunity to review the information provided by Akash_Varuna. Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.