Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Alteryx Question

Padmarao
5 - Atom

I want to combine data from different columns to single column and add data into multiple lines in each row in column so I have written below one and it is not working, can any one help with this?                                                                                                                                

[Class name]+"-"+[Total shares]+\n+[Class name]+"-"+[Voting rights]+\n+[Class name]+"-"+ [Nominal share value]+\n+[Class name]+"-"+[Capital held]+\n+[Class name]+"-"+[Voting %]+\n+[Class name]+"-"+[% of class]

4 REPLIES 4
aatalai
15 - Aurora

are the data fields all in string format? If not you might need to change that with a select tool or in the formula use tostring([field])

 

 

Hope that helps

Padmarao
5 - Atom

Yes all are in string format, but still it is not working

aatalai
15 - Aurora

 ok try it without the \n and see where that gets you for starters

gawa
16 - Nebula
16 - Nebula

hi @Padmarao 

Press enter between " and " where you want to insert a newline.

\n does not work inside Formula expression in Alteryx.  

[Class name]+"-"+[Total shares]+"
"+[Class name]+"-"+[Voting rights]+"
"+[Class name]+"-"+ [Nominal share value]+"
"+[Class name]+"-"+[Capital held]+"
"+[Class name]+"-"+[Voting %]+"
"+[Class name]+"-"+[% of class]

Exapmle

image.png

Labels
Top Solution Authors