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

Parent child Hierarchy - Maximum levels

TriptiAnand5
5 - Atom

I have a set of data having child and parent column and I want to build the hierarchy possible to one single top level without using multiple joins.

How can I do that using Alteryx?

My data looks like this 

TriptiAnand5_0-1756398103766.png

 

4 REPLIES 4
Gaurav_Dhama_
12 - Quasar

Can you manually create an output and show what are you expecting.

KGT
13 - Pulsar

Have a search for Hierarchy macros on the community. There are a few around, but one main one that will get you the complete hierarchy for you to then parse. Without a macro, you will have issues with having to define how many rows to look at.

 

Also, I think it's challenge 12 in the Weekly Challenges, that deals with this. So that may be worth checking out as well.

TriptiAnand5
5 - Atom

I want it to be like this , without having to define the number of parent, it should automatically search the number of parents possible up to the last level

 

TriptiAnand5_0-1756451206792.png

 

apathetichell
20 - Arcturus

@KGT this one ---> https://community.alteryx.com/t5/Weekly-Challenges/Challenge-12-Creating-an-HR-Hierarchy/td-p/36740

 -- I think this was like the first iterative macro weekly challenge. Classic.I'd put this almost HOF level. HOF is like the Pokemon or Tire Size.

Labels
Top Solution Authors