Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
nohhking
Regular Visitor

Custom Fonts dissappears after a day

I imported a custom font (Raleway) by exporting into a json file and then using the font as a theme in power bi. it seems to be working but as soon as the next day rolls around and i log back into power bi. The custom font is then changed to whatever font it initially was before i changed the font in visual studio code to raleway. What do i do to solve this?

1 REPLY 1
hackcrr
Super User
Super User

Hi, @nohhking 

Below is a sample structure of a JSON file containing Raleway fonts:

{
  "name": "CustomTheme",
  "visualStyles": {
    "*": {
      "*": {
        "fontFamily": "Raleway"
      }
    }
  }
}

Go to the View tab >> click Themes >> then select Browse for Themes >> select the JSON theme file with the Raleway font specification. Make sure the theme is applied correctly in all visuals.

Go to the View tab >> click Themes >> then select Browse for Themes >> select the JSON theme file with the Raleway font specification. Make sure the theme is applied correctly in all visuals. After applying the theme, save the Power BI report (PBIX file). Ensure that the Raleway fonts are available and installed on the system running Power BI. Sometimes, if custom fonts are not available on the local computer or Power BI service, they may not be retained. If the problem persists, try the following:
Reapply the theme: Manually reapply the theme each time you open Power BI Desktop.
Script automation: Consider creating a script that reapplies the theme when you open a report to automate the process.
Important: Make sure you have the Raleway font installed on your computer. Verify that the font name in the JSON file exactly matches the name of the installed font.

 

Best Regards,

hackcrr

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.