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.

Creating Own Employee in an Parent child Hierarchy structure

SR
8 - Asteroid

Hi All,

 

I need some guidance in creating a row for the each manager in their parent child hierarchy. In the below table, employee Mark reports to DEF and indirectly reports to XYZ and finally to ABC. I want to create a 4th record for Mark reporting to himself . Basically what i want to achieve is for every employee i want to create a own record in their hierarchy structure.  Would Love some suggestions on how i can solve this issue.

 

IDNameMgmt LevelManager NameDirect Manager
1234Mark01ABCNo
1234Mark02XYZNo
1234Mark03DEF

Yes

    

 

1234Mark04Mark

No

1 REPLY 1
grazitti_sapna
17 - Castor

@SR , you can achieve this using self join. Please find the workflow to get your desired result.

 

grazitti_sapna_0-1666241185898.png

 

Sapna Gupta
Labels
Top Solution Authors