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
djmadden97
Frequent Visitor

Different Font Sizes to Customised Theme

Hi all,

I’ve customized a theme in Power BI using the interface to match our brand guidelines, and one of the requirements is to use size 12 Arial font consistently throughout the report. I set this up in the custom theme, but I’ve noticed that:

  • The chart titles default to size 14.
  • The data labels sometimes default to 10.8.

I’ve attached my theme’s JSON file for reference. Since I don’t have much experience coding in JSON, I created the custom theme using Power BI’s interface.

My question is:

  1. Do I need to modify the JSON directly to ensure that all fonts, including titles and labels, default to size 12 Arial? 
  2. Is there a way to resolve this within Power BI without advanced coding?

Any guidance would be appreciated!

 

 

djmadden97_1-1729598572112.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @djmadden97 

I am glad to help you.

 

It is indeed possible to set the font and size of chart titles and data labels in Power BI.

Unless the visuals are the same type of visual, in which case you can use Ctrl+A to select all the visuals and then set the font to Arial and the size to 12 for both the chart titles and the data labels:

vfenlingmsft_0-1729650066912.png

 

vfenlingmsft_1-1729650096910.png


However, in an entire report, there will generally be multiple different types of visuals, so you can use any text editor (such as Notepad or Visual Studio Code) to create or edit the JSON file:

vfenlingmsft_2-1729650146776.png

 

{
  "name": "Custom Theme",
  "visualStyles": {
    "*": {
      "*": {
        "title": [{
          "fontSize": 12,
          "fontFamily": "Arial"
        }],
        "labels": [{
          "fontSize": 12,
          "fontFamily": "Arial"
        }]
      }
    }
  }
}


After saving the JSON file, in Power BI click View, then click Browse for themes, select the JSON file you just saved and apply it, you will find that all the fonts and sizes of the different types of visuals have been changed to the results you need:

vfenlingmsft_3-1729650228931.png

 

vfenlingmsft_4-1729650292342.png

 

vfenlingmsft_5-1729650313207.png

 

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi, @djmadden97 

I am glad to help you.

 

It is indeed possible to set the font and size of chart titles and data labels in Power BI.

Unless the visuals are the same type of visual, in which case you can use Ctrl+A to select all the visuals and then set the font to Arial and the size to 12 for both the chart titles and the data labels:

vfenlingmsft_0-1729650066912.png

 

vfenlingmsft_1-1729650096910.png


However, in an entire report, there will generally be multiple different types of visuals, so you can use any text editor (such as Notepad or Visual Studio Code) to create or edit the JSON file:

vfenlingmsft_2-1729650146776.png

 

{
  "name": "Custom Theme",
  "visualStyles": {
    "*": {
      "*": {
        "title": [{
          "fontSize": 12,
          "fontFamily": "Arial"
        }],
        "labels": [{
          "fontSize": 12,
          "fontFamily": "Arial"
        }]
      }
    }
  }
}


After saving the JSON file, in Power BI click View, then click Browse for themes, select the JSON file you just saved and apply it, you will find that all the fonts and sizes of the different types of visuals have been changed to the results you need:

vfenlingmsft_3-1729650228931.png

 

vfenlingmsft_4-1729650292342.png

 

vfenlingmsft_5-1729650313207.png

 

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Fen,

Sorry for the delay. Thank you for this!
I continued with your solution and also utilised this gitub repositry

amitchandak
Super User
Super User

@djmadden97 , Check out theme generators can help

https://community.fabric.microsoft.com/t5/Community-Blog/Power-BI-Theme-Generators/ba-p/2265899

https://themes.powerbi.tips/themes/wireframes

https://powerbithemegenerator.bibb.pro/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.