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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
JemmaD
Helper V
Helper V

Create a line break within the measure name

I think I know this isn't going to be possible, but I have measures with a braket indicating if it's mixed currency or GBP. For example

Claims - Current Month (Mixed Currency)

Claims - Prior Month (Mixed Currency)

Claims - Current Month (GBP)

Claims - Prior Month (GBP)

 

And I really want the measure name to have the brackets on the row underneath. But, because this is just text, UNICHAR(10) doesn't work before the equal sign. Is there a fancy way of doing what I want without forcing the column size? 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @JemmaD  - Unfortunately, in Power BI, measure names cannot directly include line breaks or be formatted with additional rows for multi-line text. 

If you're using a table or matrix visual, you can add a calculated column with your desired labels that simulate line breaks.

MeasureLabels =
SWITCH(
TRUE(),
[Measure] = "Claims - Current Month (Mixed Currency)", "Claims - Current Month" & UNICHAR(10) & "(Mixed Currency)",
[Measure] = "Claims - Prior Month (Mixed Currency)", "Claims - Prior Month" & UNICHAR(10) & "(Mixed Currency)",
[Measure] = "Claims - Current Month (GBP)", "Claims - Current Month" & UNICHAR(10) & "(GBP)",
[Measure] = "Claims - Prior Month (GBP)", "Claims - Prior Month" & UNICHAR(10) & "(GBP)",
BLANK()
)

 

Add this helper column to the row headers in a matrix or table visual.
The UNICHAR(10) will create a line break in text where supported (like headers or cell text).





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

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @JemmaD  - Unfortunately, in Power BI, measure names cannot directly include line breaks or be formatted with additional rows for multi-line text. 

If you're using a table or matrix visual, you can add a calculated column with your desired labels that simulate line breaks.

MeasureLabels =
SWITCH(
TRUE(),
[Measure] = "Claims - Current Month (Mixed Currency)", "Claims - Current Month" & UNICHAR(10) & "(Mixed Currency)",
[Measure] = "Claims - Prior Month (Mixed Currency)", "Claims - Prior Month" & UNICHAR(10) & "(Mixed Currency)",
[Measure] = "Claims - Current Month (GBP)", "Claims - Current Month" & UNICHAR(10) & "(GBP)",
[Measure] = "Claims - Prior Month (GBP)", "Claims - Prior Month" & UNICHAR(10) & "(GBP)",
BLANK()
)

 

Add this helper column to the row headers in a matrix or table visual.
The UNICHAR(10) will create a line break in text where supported (like headers or cell text).





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

Proud to be a Super User!





Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors