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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors