Alteryx Designer Desktop Discussions

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

How to map out employee and their Direct/Indirect Manager

icchung
6 - Meteoroid

Hi All,

Much is appreciate for looking at this.

I'm trying to map out all the managers based on one employee. It's like a team of 5 employees will have 1 manager but I need to map out the manager's managers & upper managers.

Please see have a look at the Alteryx where it has the start data and the objective/result data. Thanks for looking at this.

Raw Data

icchung_0-1638513540704.png


Result

icchung_1-1638513558840.png

 

 

8 REPLIES 8
Sebastiaandb
12 - Quasar

Hi @icchung ,

 

This might help, i based it on https://community.alteryx.com/t5/Weekly-Challenge/Challenge-12-Creating-an-HR-Hierarchy/td-p/36740 .

 

 

Sebastiaandb_0-1638517030354.png

 

@Qiu 's reference might be a bit different so you have 2 ways to Rome now ;-).

 

Greetings,

 

Seb

 

surajmthomas
8 - Asteroid

surajmthomas_0-1638517240587.png

 

My take on the requirement mentioned above. I have used levels of Find and Replace tool to get the result you have mentioned. @icchung 

 

icchung
6 - Meteoroid

Hi Seb,

Is it possible to save it in .yxmd, I am unable to open it in .yxzp thanks

icchung_0-1638517727781.png

 

Sebastiaandb
12 - Quasar

@icchung Here are both files individually. When you get that version error you can mostly still open the workflow by searching the folder that the package extracted. 🙂

 

Greetings,

Seb

icchung
6 - Meteoroid

Thanks for all your help much is appreciated!

icchung
6 - Meteoroid

Hi Sura,

This is a great. I have a question about using the unique node.

I have an employee who will have the same m1 but that m1 has TWO different managers in manager level 3. how to insure that is included? Is this not possible to cover?

e9 m8
e10 m8
m8 m11
m8 m12
m11 m15
m12 m15

Result for the manager8 with two managers. (is this possible to have?)

 

icchung_0-1638520074052.png

 

surajmthomas
8 - Asteroid

@icchung A bit of trickery involved. May not be the optimal way. But is this what you are looking for ?

 

surajmthomas_0-1638523976361.png

 

Labels