Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
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