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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Jim123456789jim
Frequent Visitor

Line Break up in DAX

Hi All,

 

 How to write line break function in concate funcation. I tried with <br /> but it was not working

Can you please help on this.

1 ACCEPTED SOLUTION
CrisYan
Resolver III
Resolver III

Try using UNICHAR(10). For example: Column = "Line 1"& UNICHAR(10) & "Line 2".

 

And make sure you have the "Word Wrap" option activate on your Card/Table/Matrix/etc.

 

View solution in original post

3 REPLIES 3
benik9
New Member

In the concatenate code, if you insert a "shift + enter" after the comma, it gives me a line break, without breaking the code.

 

                'Query1'[LetterCode],
                ",{insert SHIFT-ENTER here}",
                'Query1'[LetterCode],
v-huizhn-msft
Employee
Employee

Hi @Jim123456789jim,

After research, please refer to the solution here. Please respond me if you have other issue.

Thanks,
Angelia

CrisYan
Resolver III
Resolver III

Try using UNICHAR(10). For example: Column = "Line 1"& UNICHAR(10) & "Line 2".

 

And make sure you have the "Word Wrap" option activate on your Card/Table/Matrix/etc.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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