Alteryx Designer Desktop Discussions

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

How to parse comma separated values in multiple columns to same row

lynnlinnewtoalteryx
6 - Meteoroid

Hello, 

 

New to alteryx. Thank you for anyone who answers me in advance!

 

I have data like this:

Col 1Col 2Col 3Col 4
1a,b3h/g
2c4m
3d,e,f3d/m/u

Expected output like this:

Col 1Col 2Col 3Col 4
1a3h
1b3g
2c4m
3d3d
3e3m
3f3u

 

Lynn

7 REPLIES 7
ArtApa
Alteryx
Alteryx

Hi @lynnlinnewtoalteryx - Here is how you can solve it:

ArtApa_0-1629173562633.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @lynnlinnewtoalteryx 

 

Just as a knowledge share here is an additional way using multi-row formula tool. Tile tool approach is definitely the easier and suggested one for this usecase.

 

atcodedog05_0-1629179359725.png

 

Hope this helps : )

lynnlinnewtoalteryx
6 - Meteoroid

Thank you! It worked well~

lynnlinnewtoalteryx
6 - Meteoroid

Thank you, this worked as well!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @lynnlinnewtoalteryx 

Cheers and have a nice day!

suby
11 - Bolide

Hi atcodedog,

 

Could you please explain what this expression does on this use case scenario.

 

[Row-1:SubId]+1

atcodedog05
22 - Nova
22 - Nova

Hi @suby 

 

Refer the highlights.

 

atcodedog05_0-1629187134905.png

 

I am setting groupby Col 1 and value doesnt exist as 0. Which means of each group of Col 1 it starts with 0 and gets added up on each occurence.

Labels