Alteryx Designer Desktop Discussions

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

Direct/Indirect Subordinates under a Manager - From HR Data Set

P007
6 - Meteoroid

Hi Community,

 

I am stuck with an issue though I figured out the solution by going through one of the community solution but current fresh issue that I am facing is that when I am running the iterative macro it goes into infinite iterations because I have a record totaling upto 100,000 which is being iterate.

Major field that I am using is Emp ID, Emp Name, Supervisor Name , Supervisor ID.

 

Employee NameEmployee IDSupervisor NameSupervisor ID
Amandeep123Imran101
Pravir387Pankaj253
Bhupendra309Pankaj253
Bhatia388Pankaj253
Chaurasia299Sheeraz234
Sweta289Sheeraz234
Jasmeen201Imran101
Imran101Jitendra Dua100
Jitendra Dua100Nick98
Ronak124Nick98
Shivendra286Nick98
Vishesh125Imran101
Nick98Nancy56
Nancy56Toby7
toby7  
Pankaj253Amandeep123
Sheeraz234Amandeep123

 

NOTE - The points that needs to be noted here is that my data set is not limited to only this much record , because I have data set which contains 100,000 records all together.

 

Output which I want is :- Based on the user input (Either be it single or multiple - like for an example User input employee id as 101 , 253) so based on the input I should be getting the output se below :-

 

Supervisor NameSupervisor IDEmployee NameEmployee ID
Imran101Amandeep123
Imran101Jasmeen201
Imran101Vishesh125
Imran101Pankaj253
Imran101Sheeraz234
Imran101Pravir387
Imran101Bhupendra309
Imran101Bhatia388
Imran101Chaurasia299
Imran101Sweta289
Pankaj253Pravir387
Pankaj253Bhupendra309
Pankaj253Bhatia388

 

Also , you may visit the link which has similar datasets and similar solutions but the exact solution which I am looking for is still under search.

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Producing-a-denormalised-output-from-H...

 

11 REPLIES 11
Pang_Hee_Choy
12 - Quasar

@danilang agree. it will save more time by that way.

P007
6 - Meteoroid

Hi @danilang ,

 

This is the solution that I was looking for.

 

Thank you very much.

Labels