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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Ben1981
Helper III
Helper III

Using line break in a NAV Button text field.

I have a navigation button and within the text section I use a measure which is basically just combing two text fields together. I currently use UNICHAR(10) to create a line break between the two texts and the desired output works fine when it's used in a card. 

 

However for some reason it does not work within the nav button text field.

 

Measure:  _col_01 & UNICHAR(10) & " " & UNICHAR(10) & _col_02

Output to Card:

"Status

 

Okay"

 

Output to Nav Button text:

"Status Okay"

1 REPLY 1
SamWiseOwl
Super User
Super User

Hi @Ben1981 as far as I'm aware the only way to cause word wrap is resize the visual.
Slight hacky way would be make the button see through, put a text box/card behind it with the wrapped text.
That way when the click the text they actually click the see though button.

Hex code for see through is "#FFFFFF00" or turn the button background and fill off.

Hope this helps!

SamWiseOwl_0-1722418813889.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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