Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Related Fields Text to Columns

zcurt
5 - Atom

Hi,
I have a dataset that contains two related fields, but each cell could contain multiple values separated with "**". The position of the data within the two fields need to correspond with each other. I have had no luck separating without getting erroneous results included in my results. 

 

Thanks in advance!

 

Dataset

Cust IDAlt_ID_TypeAlt_ID_Value
U-123Cust#**Account#**System#3333**AB4444**YZ9999
U-234Hierarchy#UU1234
U-444AccountID4444**BC2222

 

Desired Output

Cust IDAlt_ID_TypeAlt_ID_Value
U-123Cust#3333
U-123Account#AB4444
U-123System#YZ9999
U-234Hierarchy#UU1234
U-444AccountID4444
U-444AccountIDBC2222
4 REPLIES 4
Felipe_Ribeir0
16 - Nebula

Hi @zcurt 

 

 

One way of doing this:

Felipe_Ribeir0_0-1667755161308.png

If the provided answer helped you to solve the problem/was correct, please accept it as a solution :)

 

Thanks.

 

binuacs
21 - Polaris

@zcurt One way of doing this

 

binuacs_0-1667806375022.png

 

Felipe_Ribeir0
16 - Nebula

Hi @zcurt 

 

It worked? If yes, please accept it as a solution. Thanks!

zcurt
5 - Atom

Thank you, Felipe and binuacs! Both solutions were very helpful.

Labels
Top Solution Authors