Free Trial

Alteryx Designer Desktop Discussions

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

Splitting columns

ssubramanian
8 - Asteroid

Hi,

 

I have a requirement:

Input: 

SegmentLBDept
S1,S2L1D1,D2,D3
S2,S3L2,L3D4

 

Output: 

 

SegmentLBDept
S1L1D1
S1L1D2
S1L1D3
S2L1D1
S2L1D2
S2L1D3
S2L2D4
S2L3D4
S3L2D4
S3L3D4

 

 

This is just an example I have 7 such columns with different combinations. Right now I am using text to column tool for each of the 7 columns (7 Text to Column tools). Is there a way to do this in fewer steps?

 

 

12 REPLIES 12
DavidP
17 - Castor
17 - Castor

Have a look at the attached files and see if you can open them in your Alteryx ( I changed the version to 2018.1). If you put both files in the same folder and run split cells.yxmd, it should work.

 

If not, I'll write up step by step instructions on recreating the i

DavidP
17 - Castor
17 - Castor

iterative macro

ssubramanian
8 - Asteroid

Thanks a lot @DavidP. This is exactly what I wanted. Thank you so much!

Labels
Top Solution Authors