Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Line Break in same cell in multiple columns without affecting other columns

Pkumar196
6 - Meteoroid

Hello Alteryx Community

 

Can someone please help me to create a workflow where I can use Line Break option inside a cell on specified columns. I tried using Text to column tool selecting row in option which do separates the words in lines but creates multiple entries. I have attached my sample input and desired output.

 

Thank you.

5 REPLIES 5
messi007
15 - Aurora
15 - Aurora

@Pkumar196,

 

Please see below :

 

messi007_0-1652689484109.png

 

 

Attached the workflow,

Regards,

binuacs
21 - Polaris

@Pkumar196 Similar to @messi007  solution with the Multi-Field formula tool

 

binuacs_0-1652690398635.png

 

binuacs
21 - Polaris

@Pkumar196 another way of doing this with the Transpoe and Cross Tab tool

binuacs_0-1652690868533.png

 

Pkumar196
6 - Meteoroid

Hi @binuacs

 

Thanks for showing me multiple ways of getting my desired output. The solutions worked for me after making a minor change in the expression. The Expression I used is "Trim(Replace([_CurrentField_], ', ', CharFromInt(10)))".

Pkumar196
6 - Meteoroid

Hi @messi007 and @binuacs. Thanks for your help and provided solutions. It worked for me.

Labels