We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Breaking out comma delimited field AND recombining to 1 ID per row

csh8428
11 - Bolide

I have a comma delimited field that follows this syntax: ID, Name, ID, Name. Yes, I have lambasted the person who thought about creating a field like this. But, I can't get to the original data, so I have to break it out to 1 per row where ID and Name are separate fields, but correctly aligned. The vendor field can have any number of "Vendors" in it

 

Data:

 

PO_IDVendor
2222AAA, Amazon, BBB, Best Buy, CCC, CoconutWater, DDD, Doritos
5555AAA, Amazon, BBB, Best Buy, FFF, Ferrari

 

Results needed

PO_IDVendorIDVendorName
2222AAAAmazon
2222BBBBest Buy
2222CCC CoconutWater
2222DDDDoritos
5555AAAAmazon
5555BBBBest Buy
5555FFFFerrari

 

I've been toying with various transposes, crosstabs, samples, and others but just can't quote get it.

 

Thanks for any help!!!

1 REPLY 1
binuacs
21 - Polaris

@csh8428 one way of doing this

image.png

Labels
Top Solution Authors