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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

Add a font

I want to add MONTSERRAT as a font to choose from in all my reports. How can I do that?

17 REPLIES 17
AdrienL
New Member

Hi everyone, I wanted to reopen the topic to know how this feature is managed nowadays :

- Can I add my proper font with this method ? In that case how should I name it (call it in the function tho) ? 
- If I can read this font because it's installed on my computer, do we know if this font will be visible for all external viewer ? Or is there a way to embed it ? 

 

Thank you so much, 
AdrienL

Hi AdrienL,

 

I'm having the same trouble. Did you solve the problem at the end?

 

Thanks,

JSAL

Anonymous
Not applicable

With the addition of Themes, this is now possible. As I was also looking for the solution and stumbled on this same query which looks unanswered, I thought of posting the solution from my end which is working fine for me.

 

1. Go to https://powerbi.microsoft.com/en-us/blog/power-bi-community-report-theme-gallery/ and download the JSON file for any theme you like.

2. Open the JSON file using Notepad++ or similar editor and add below lines. Change the font family to one you would like to have.

"visualStyles":{
	"*":{
		"*":{
			"*":[{"fontFamily": "HELVETICA NEUE"
			}]
			}
		}
	},

3. Import and select the theme in PowerBI to set the font family for entire report. This should set you up.

 

Cheers,

AK

Hi @Anonymous , 

 

Do you know if there is a way that I can get the fonts to work on the service and embedded as well? 

 

Anonymous
Not applicable

I also would like to use a font in my text boxes that is not currently included in the selection.

kiranvijay
Frequent Visitor

You can import it as .less file.

@import (less) url('https://fonts.googleapis.com/css?family=Montserrat');

 

Can you please advise where to add this import statement?

See if this helps:

https://www.sumproduct.com/blog/article/power-bi-tips/power-bi-importing-fonts-into-power-bi 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






It was everything I was looking for. It's a shame no one knows this answer. The common json modification answer doesn't work at all, you are awesome.

Thank you Paul. I have updated my theme file with custom font. What i was wondering is if the font is not available for the end user, how does it work? Where to add the import fonts statement but I got to know it is still not available to import fonts using powerbi.

I really don't know the answer. However, given that the report/app will be shared through the Power BI service, I would wager that the fact that an end user's Windows does not have the font installed should be irrelevant; it's consumed through the web. Again, this is just applying logic so I could very well be wrong.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Sounds good! Where do I enter this code?

This is currently possible only with custom visuals. 

 

Sample custom visual with Font family assigned under style/visual.less https://github.com/Microsoft/PowerBI-visuals-sampleBarChart

@kiranvijay please could you help me? I have the same request to add Lato font to use in a .pbix file

I've installed nodejs but I can't understand how to use and where I have to add the code @import ect.

Thank you

Anonymous
Not applicable

I have the same question. I'm install new font into Windows>Fonts. But it still not effective with "Font family" in Power BI.

I think it should be use the same library.

 

I'm update new one. My friend install the same font and can see it. I don't know how to fix 😞

Font_PBI.PNG

Regards,

ManNVSM.

v-huizhn-msft
Employee
Employee

Hi @Anonymous,

Until now, we can't add the fond except supported fonts family, please review the ideas and vote them. 

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/19059709-customize-all-fonts-with-json
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/9007054-allow-fonts-to-be-customized

Best Regards,
Angelia

Anonymous
Not applicable

MONTSERRAT is actually just a standard font. Even that is not possible?

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.