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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
smaru
Advocate I
Advocate I

Have new line character in Tooltip

I need to show a Tool-tip that has multiple lines. I need a Line break between consecutive lines. Tooltip = "Line 1" & UNICHAR(10) & "Line 2" This gives me output in tooltip as - Line1 Line2 However, I need output as - Line1 Line2 I tried using UNICHAR(10) twice, but its not working - Tooltip = "Line 1" & UNICHAR(10) & UNICHAR(10) & "Line 2"
1 ACCEPTED SOLUTION

I have achieved it using below calculation

 

Calc = "Calc1: This is description for Calc1" & UNICHAR(10) & UNICHAR(847) & UNICHAR(10) & "Calc2: This is description for Calc2"

 

Calc.PNG

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

1) Create a Measure with an UNICHAR

Info button = UNICHAR(128712)

2) Create a Card Visual with this Measure 

3) Enable Tooltip in Card Visual

4) Create new tooltip page with Texbox with content you want.

5) Change original page Tooltip in Card Visual to customized Tooltip page

v-jianhe-msft
Resolver II
Resolver II

Hi,

 

So what tooltip effect do dou want to achieve, to make it rendering in two lines? If so, the tool-tip does not support the new line rendering format. 

 

You could submit an idea on https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

BR,

Henry 

 

Why would any of us submit an idea when they go for years without any response? 

 

Every time I look up some minor piece of functionality that I have in other tools I see someone (usually from Microsoft) saying "submit an idea" in a thread most recently updated six years ago.  "Submit an idea" is the get-out-of-jail-free card for Microsoft staffers that monitor these threads.

Yes. I am using Custom Visual for Dynamic Tool-tip. Here I am using this Tool-tip to display some information to user about the calculations and usability. However, I am not able to get the spaces between the lines in Tool-tip it looks very much conjusted

 

So, below is my calculated field

 

Calc.PNG

 

Calc.PNG

 

My objective is to get the space between two line so it looks good from readability perspective.

 

Thanks!!

I have achieved it using below calculation

 

Calc = "Calc1: This is description for Calc1" & UNICHAR(10) & UNICHAR(847) & UNICHAR(10) & "Calc2: This is description for Calc2"

 

Calc.PNG

Anonymous
Not applicable

Hi, I found an alternative way of having a new line in the tooltip mouse hover. Just try adding underscore instead of space or lines.. e.g.,  "Line 1:" & "____________________________________________" & "Line2 "TTpic.png

 

 

letizia
Frequent Visitor

Hi, unichar doesn't work in tooltip text. 

Didn't work for me too.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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