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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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