Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

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