line break in a DAX Pivot concatenation

Dannis

New Member
Joined
Apr 11, 2020
Messages
4
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
In a pivot i use the folowing DAX formula to get the Texts in the Pivit instead of a calulation.
This works fine

=CONCATENATEX(Table_DD,[Name],";" )

Output:
Dannis;Marjolijn

Now i would like the delimeter to be a line break so i tried UNICHAR(10)

=CONCATENATEX(Table_DD,[Name],UNICHAR(10)) This formula is invalid
=CONCATENATEX(Table_DD,[Name],CHAR(10)) This formula is invalid

Does anyone know what the correct formula is in Pivot Dax to get the line break

Output should be:
Dannis
Marjolijn

Hope you can Help

Kr
Dannis
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Press the SHIFT and ENTER keys on the keyboard simultaneously to insert a line break in your DAX code when you are working in the Power BI DAX formula bar then you can try Ctrl+J

but I don't see any logical reason to do this in Data Model tables
 
Upvote 0
Press the SHIFT and ENTER keys on the keyboard simultaneously to insert a line break in your DAX code when you are working in the Power BI DAX formula bar then you can try Ctrl+J

but I don't see any logical reason to do this in Data Model tables
Hi THX but the SHIFT and ENTER gives a linebreak in the lines of code but not in the outpout.
 
Upvote 0

Forum statistics

Threads
1,223,677
Messages
6,173,799
Members
452,535
Latest member
berdex

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top