Alteryx Designer Desktop Discussions

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

column with multiple delimited IDs

mompermj
7 - Meteor

i have a data set that i received that contains some customer grouping information where a single customer has multiple IDs rolling up to it, but they're in a single row:

 

CUSTOMER | GROUP CODES| DATA....

12342  | AAA/BBB/CCC

12341 | DDD

13563| EEE/FFF

 

Is there any way to somehow 'tidy' up the group codes column and create multiple rows? 

 

for example:

 

AAA | 12342  

BBB | 12342  

CCC| 12342  

DDD|12341 

 

in reality i'm trying to create a distinct mapping for group code to the overarching customer, but the number of group codes per customer can be variable. 

 

thanks in advance!

3 REPLIES 3
markcurry
12 - Quasar
You can use Text To Columns, and split your Group Codes field by the slash, and choose the Split to rows option
benakesh
12 - Quasar

@mompermj ,

You can use Text to columns for  splitting  columns and creating rows for group codes.

benakesh_0-1572026363840.png

mompermj
7 - Meteor

thanks again. i didn't realize that i never thanked you. 

Labels