Reply
PowerBIWhat
Helper I
Helper I
Partially syndicated - Outbound

Add a line break to the title of a visual

Hi Everyone,

 

I have a number of KPI visuals where I want the title to include a line break so that when I wrap text, the subtitle is on another line.

 

I have a number of these KPI boxes showing the same stat but they are filtered by region. I want the title to display Region and then the definition of the stat on a separate line.

 

As an example:

 

England

Month to date sales daily run rate

 

But I can't seem to add a line break after the region, so I end up with:

 

England Month to date

sales daily run rate

 

Which looks horrible and looks worse because each region is a different length of characters. Is there a way to add the line breaks? I tried adding a load of spaces but that didn't work.

 

Thanks in Advance,

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Syndicated - Outbound

Hi @PowerBIWhat ,

You can try to create a measure to store the title with a line break, apply it for title conditional format and disable 'Word wrap' option:

Title = "England 
Month to date sales daily run rate"

title.png

 

Best Regards,
Community Support Team _ Yingjie Li
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

10 REPLIES 10
spham1215
Frequent Visitor

Syndicated - Outbound

I was able to find a Unicode character that isn't filtered out in the visual title text box. 

 

If you add a space after your title then add as many (ㅤ) characters as necessary to push the title box to the next line.

The character is called a Hangul Filler (U+3164).

Syndicated - Outbound

fyi, once u publish it to the web all or these Hangul Fillers will vanish. Amazing work microsoft

Syndicated - Outbound

What a find!  Make sure to test across browsers.  Power BI Service does not guarantee pixel perfect rendering.

wac1ldy
Frequent Visitor

Syndicated - Outbound

Don't forget to take WordWrap OFF for whatever your using.

v-yingjl
Community Support
Community Support

Syndicated - Outbound

Hi @PowerBIWhat ,

You can try to create a measure to store the title with a line break, apply it for title conditional format and disable 'Word wrap' option:

Title = "England 
Month to date sales daily run rate"

title.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Syndicated - Outbound

Is there a way to add line breaks in a string of text in Microsoft's DAX language? - Stack Overflow

The best answer I found was to use UNICHAR(10) in a custom column/measure.

Syndicated - Outbound

The Hangul Filler seems superior still.

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

 

 

Syndicated - Outbound

Problem with this solution for me is it does not expand the title area and thus title text goes over plot.

 

screenshot.png

Syndicated - Outbound

Great. Is there a way to make region dynamic? Adding the field to the measure

lbendlin
Super User
Super User

Syndicated - Outbound

I played a bit with UNICHAR() but none of the usual suspects seem to work. Feels like the Power BI team does some severe filtering on the strings that are sent to the title renderer.  Might be worth to raise this as an idea.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)