Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet 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
How can I use a font size larger than 60 for card visual?
Solved! Go to Solution.
@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.
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.
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!
@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.
@prihana , Double click on Text size box under format and manually enter the value
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
88 | |
86 | |
83 | |
68 | |
49 |
User | Count |
---|---|
138 | |
111 | |
104 | |
65 | |
64 |