Alteryx Designer Desktop Discussions

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

Multiple Parent to Child Roll Up

jacbue79
5 - Atom

I have a dataset that looks like below:

 

Child 1Parent 6Parent 5Parent 4Parent 3Parent 2Parent 1
ABC123Category 1Category A............
ABC124Category 4Category A............
ABC125Category 1Category B............
ABC125Category 2Category C............

 

I want to roll up the child data to all the parents associated with it based on hierarchy like below:

 

Parent 1Parent 2Parent 3Parent 4Parent 5Parent 6Child
XYZ      
 XYZ     
  XYZ    
   XYZ   
    XYZ  
     XYZ 
      ABC123
      ABC124
  XYZ1    
   XYZ1   
    XYZ1  
     XYZ1 
      ABC125
      ABC124
   XYZ2   
    XYZ2  
     XYZ2 
      ABC129
      ABC128
    XYZ3  
     XYZ3 
      ABC127
     XYZ3 
      ABC127
XYZ4      
 ...     

 

Thanks in advance for the help!

 

 

 

3 REPLIES 3
geraldo
13 - Pulsar

@jacbue79 

 

Sorry. I would like to help but I don't understand the example you put as sample data

kamal03
9 - Comet

Hi @jacbue79 

 

Could you please provide the correct sample input and output, I am not able to understand the example above.

apathetichell
18 - Pollux

unclear if you want to keep the blanks in your output - but yeah some sample data and then using the cross tab tool should do it.

Labels