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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
wcarter
Advocate II
Advocate II

Font Size

PBI isn't letting me set font sizes above 60 on the cards. I have to create a one-page dashboard with some large elements and I need to be able to set a larger font size. This should be a free-form input, not constrained to arbitrary ranges.

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @wcarter 

You're right that max font size limit in Power BI is 60. A workaround is to use a DAX generated SVG image returning the desired value. The first card in the image below uses SVG while the second one uses the 60px limit. This is fine for a few measures but quite tricky to setup. DAX below was generated with the help of AI

danextian_0-1765173658081.png

SVG_Responsive_Text =
VAR _label = "Total Sales:"
VAR _value = FORMAT( [Total Transactions], "#,0" )

-- Large viewBox for better scaling
VAR _vbW = 2000
VAR _vbH = 1000

-- Padding inside viewBox
VAR _padX = _vbW * 0.05
VAR _padY = _vbH * 0.1

-- Font size relative to viewBox height
VAR _fontSize = _vbH * 0.35

-- Text position
VAR _x = _padX
VAR _y = _vbH / 2   -- vertically centered

RETURN
"data:image/svg+xml;utf8," &
"<svg xmlns='http://www.w3.org/2000/svg' "
& "width='100%' height='100%' "
& "viewBox='0 0 " & _vbW & " " & _vbH & "'>"
    & "<rect width='100%' height='100%' fill='white'/>"
    & "<text x='" & _x & "' y='" & _y & "' "
        & "font-family='Segoe UI' "
        & "font-size='" & _fontSize & "' "
        & "dominant-baseline='middle' "
        & "text-anchor='start'>"
        & _label & " "
        & "<tspan font-weight='700'>" & _value & "</tspan>"
    & "</text>"
& "</svg>"




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

5 REPLIES 5
v-aatheeque
Community Support
Community Support

Hi @wcarter 

Have you had a chance to look through the responses shared earlier? If anything is still unclear, we’ll be happy to provide additional support.

Hi @wcarter 

We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.

danextian
Super User
Super User

Hi @wcarter 

You're right that max font size limit in Power BI is 60. A workaround is to use a DAX generated SVG image returning the desired value. The first card in the image below uses SVG while the second one uses the 60px limit. This is fine for a few measures but quite tricky to setup. DAX below was generated with the help of AI

danextian_0-1765173658081.png

SVG_Responsive_Text =
VAR _label = "Total Sales:"
VAR _value = FORMAT( [Total Transactions], "#,0" )

-- Large viewBox for better scaling
VAR _vbW = 2000
VAR _vbH = 1000

-- Padding inside viewBox
VAR _padX = _vbW * 0.05
VAR _padY = _vbH * 0.1

-- Font size relative to viewBox height
VAR _fontSize = _vbH * 0.35

-- Text position
VAR _x = _padX
VAR _y = _vbH / 2   -- vertically centered

RETURN
"data&colon;image/svg+xml;utf8," &
"<svg xmlns='http://www.w3.org/2000/svg' "
& "width='100%' height='100%' "
& "viewBox='0 0 " & _vbW & " " & _vbH & "'>"
    & "<rect width='100%' height='100%' fill='white'/>"
    & "<text x='" & _x & "' y='" & _y & "' "
        & "font-family='Segoe UI' "
        & "font-size='" & _fontSize & "' "
        & "dominant-baseline='middle' "
        & "text-anchor='start'>"
        & _label & " "
        & "<tspan font-weight='700'>" & _value & "</tspan>"
    & "</text>"
& "</svg>"




Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Nabha-Ahmed
Memorable Member
Memorable Member

Hi @wcarter 


1️⃣ Use a Text Box Instead of a Card

Power BI Text Boxes allow much larger font sizes, beyond 60pt.

Steps:

1. Insert → Text box


2. Type your value (can be dynamic using a measure via Value → fx)


3. Set the font size above 60 (up to ~300)


4. Format background and alignment to mimic a card

 

Pros: fully scalable font, customizable design

Cons: Slightly less dynamic than native card (requires measure formatting)

 

---

2️⃣ Use a Multi-Row Card Visual

Multi-row card can sometimes bypass the 60pt limit for individual fields.

Steps:

1. Insert → Multi-row card


2. Add your measure


3. Format each field’s data label → may allow slightly larger sizes than single card

 

Note: Still limited, but sometimes larger than 60pt

 

---

3️⃣ Use a Custom Visual from AppSource

Custom card visuals may allow larger font sizes or free-form scaling:

Examples:

Card with States

Card Browser

Infographic Designer

 

Steps:

1. Visualizations → Get more visuals → AppSource


2. Search “Card” or “KPI”


3. Import visual → Add to dashboard → adjust font freely

 

 

---

4️⃣ Combine Shapes + Text Boxes

If you want a “card look” with very large numbers:

Insert rectangle / shape

Overlay Text Box with large font

Bind the Text Box to a measure

Adjust colors / borders to match card style

If this solution helped you, please mark it as the accepted answer so it can help others as well.

 

amitchandak
Super User
Super User

@wcarter , I checked it out. It not allowing beyond that. Please log an issue or Idea  

https://community.powerbi.com/t5/Issues/idb-p/Issues 

 

https://ideas.powerbi.com/ideas/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.