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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
prihana
Helper V
Helper V

Font size > 60

How can I use a font size larger than 60 for card visual?

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@prihana 
Unfortunately, the maximum supported text size in Power BI is 60pt. You may submit an idea if you need larger text size.

For workaround, you can edit the page size or zoom to make the card look larger. Please refer to https://www.excelcampus.com/powerbi/page-zoom-text-size/

 

Paul Zheng _ Community Support Team
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

4 REPLIES 4
Burningsuit
Resident Rockstar
Resident Rockstar

You could use the Smart Narrative (a.k.a. a Text Box) instead of a card where you can use a font size up to 96.  Use the "+Value" button and in "How would you calculate this value", just type the name of your measure.

RodrigoMachado
Frequent Visitor

Hi @prihana , there is a more definitive solution for that problem.

 

By default, Power BI sets its themes' font sizes to maximum of 60. We have to keep in mind that if we just zoom in the screen or if we make the screen size smaller we are losing pixels quality. That's risky if we want to publish our report online or show it to our company members for example.

 

The way to set bigger font size (>60) is to create your custom theme. Here you can read on how to do that: Use report themes in Power BI Desktop - Power BI | Microsoft Docs. You want to go to the "Setting formatted text defaults" section.

 

Here's how it works:

{
"name": "Custom Theme",
"textClasses": {
"callout": {
"fontSize": 150,
"fontFace": "DIN",
"color": "#252423"
},
"title": {
"fontSize": 12,
"fontFace": "DIN",
"color": "#252423"
},
"header": {
"fontSize": 12,
"fontFace": "Segoe UI Semibold",
"color": "#252423"
},
"label": {
"fontSize": 10,
"fontFace": "Segoe UI",
"color": "#252423"
}
}
}

source: Use report themes in Power BI Desktop - Power BI | Microsoft Docs

 

This is a json code format* where I set the font size default for 150. You could set the font size as large as you need it to be. So from there you can add your own color scheme to the code as well if you want to (but not mandatory) and then upload that into your power bi report (View -> Browse for themes, and then go to the file in your computer where the json is saved).

 

*you can save a file as json format using notepad, jupyter, spyder or visual studio for example, and there are some websites that can do that as well.

 

The issue with this solution is that you can't adjust the font size after you import your theme into power bi.

 

Hope this helps the community!

 

 

V-pazhen-msft
Community Support
Community Support

@prihana 
Unfortunately, the maximum supported text size in Power BI is 60pt. You may submit an idea if you need larger text size.

For workaround, you can edit the page size or zoom to make the card look larger. Please refer to https://www.excelcampus.com/powerbi/page-zoom-text-size/

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

amitchandak
Super User
Super User

@prihana , Double click on Text size box under format and manually enter the value

 

CardFontsize.png

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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