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
FawadRehman
Helper I
Helper I

link break character in calculated column

Here is my lookup column code

 

Full Contact = LOOKUPVALUE(' Contacts'[Manager Name],' Contacts'[Id],'Customer Contact'[ ContactId])
& "i want line break character here " & LOOKUPVALUE(' Contacts'[Email],' Contacts'[Id],'Customer Contact'[ ContactId])
& "i want line break character  here " & LOOKUPVALUE(' Contacts'[Telephone],' Contacts'[Id],'Customer Contact'[ ContactId])

 

 

output

John Doe

JD@xyz.com

123-345-5677

 

Thanks

10 REPLIES 10
Greg_Deckler
Super User
Super User

See the thread here and see if any of the suggestions fix it. There are 2 pages and they note that <br> should work.

 

http://community.powerbi.com/t5/Desktop/New-line-Characters/td-p/37634/highlight/true

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

<br> not working either

Hi @FawadRehman,

 

Based on my test, we can press <SHIFT>-<ENTER> buttons to add a line break in a DAX expression. Please note the line break will not display when we present the data in visuals, but it actually exists. When the cursor hovers on the value, the tooltip will display value with a line break. See:

 

q1.PNGq2.PNG

 

If you have any question, please feel free to ask.

 

Best Regards,
Qiuyun Yu

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

Thanks Qiuyun. This worked like a charm in a PowerPivot Report for me!

Hi @v-qiuyu-msft i am looking for line break in visual. for example 

 

output

John Doe

JD@xyz.com

123-345-5677

Hi @FawadRehman,

 

I'm afraid it's not supported to display one value in many lines in a visual currently. You need to split the value to many records then display them in a visual on many rows.

 

Best Regards,
Qiuyun Yu

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

At this point i am doing the same solution that you mentioned. 

trebgatte
Most Valuable Professional
Most Valuable Professional

Have you tried this technique? http://markvsql.com/2015/03/advanced-column-splitting-in-power-query/ 

 

Treb Gatte | Business Solutions MVP | Blog | Twitter

 

 

jayeckles
Advocate III
Advocate III

Presuming \n doesn't do the trick?  You've probably already tried this, but does char(10) or chr(10) do anything for you?

Both not working for me.

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.