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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Agam
Regular Visitor

JSON File is imported for theme, fonts not updating

I am trying to use Roboto font in my pbix. I have created a json file. It says that import is successful. However, it just changes the colors. Font style remain as is. 
Below is the script I am using for json.
{
"name": "Theme",
"dataColors": ["#1a661f","#2b9630","#aac811","#F18643","#e52600","#73b0db","#335c73","#7E6996"],
"textClasses": {
"callout": {
"fontSize": 45,
"fontFace": "Roboto",
"color": "#252423"
},
"title": {
"fontSize": 12,
"fontFace": "Roboto",
"color": "#252423"
},
"header": {
"fontSize": 12,
"fontFace": "Roboto",
"color": "#252423"
},
"label": {
"fontSize": 10,
"fontFace": "Roboto",
"color": "#252423"
}
}
}

 

If it changes then it displays the "Times New roman" fonts but in visuals pane it will say "Roboto".

Agam_1-1683213965898.png

 

 

 

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Agam 

 

This blog may be helpful: Custom fonts in Power BI — everything you wanted to know! | by Nikola Ilic | Towards Data Science

 

Please note that it is necessary to install the Roboto font on Windows (or any other font that is not preinstalled on Windows) before being able to actually use it in Power BI desktop.

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Agam 

 

This blog may be helpful: Custom fonts in Power BI — everything you wanted to know! | by Nikola Ilic | Towards Data Science

 

Please note that it is necessary to install the Roboto font on Windows (or any other font that is not preinstalled on Windows) before being able to actually use it in Power BI desktop.

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.