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

Union Tool/Stacking Data

reginawhelan
8 - Asteroid

Hi, I would like to stack data that is within one data source. I would like for the Names and DOB's be stacked into 3 columns instead of 9 with the Identifier carried over for each person. The following is an example of the current and desired output:

 

Current
IdentifierPerson #1 First NamePerson # 1 Last NamePerson #1 DOBPerson #2 First NamePerson # 2 Last NamePerson #2 DOBPerson #3 First NamePerson # 3 Last NamePerson #3 DOB
123Name1Last Name11/10/1978Name5Last Name51/10/1978Name9Last Name91/10/1978
124Name2Last Name21/11/1978Name6Last Name61/11/1978Name10Last Name101/11/1978
125Name3Last Name31/12/1978Name7Last Name71/12/1978Name11Last Name111/12/1978
126Name4Last Name41/13/1978Name8Last Name81/13/1978Name12Last Name121/13/1978
          
Desired      
IdentifierFirst NameLast NameDOB      
123Name1Last Name11/10/1978      
124Name2Last Name21/11/1978      
125Name3Last Name31/12/1978      
126Name4Last Name41/13/1978      
123Name5Last Name51/10/1978      
124Name6Last Name61/11/1978      
125Name7Last Name71/12/1978      
126Name8Last Name81/13/1978      
123Name9Last Name91/10/1978      
124Name10Last Name101/11/1978      
125Name11Last Name111/12/1978      
126Name12Last Name121/13/1978      

  

10 REPLIES 10
reginawhelan
8 - Asteroid

Thanks again!

Labels
Top Solution Authors