Alteryx Designer Desktop Discussions

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

Vlookup Calculation

hii_amit
7 - Meteor

Hi All

Below is my data in excel , i want to create the levels of Line managers

Assuming KCB is at to in hierarchy need the rest of the level for line managers in hierarchy 

formulas used for LM Level calcuation is in attached excel file

hii_amit_0-1607867731770.png

 

thats how they will roll-up

hii_amit_1-1607867873731.png

 

8 REPLIES 8
PraphulSamavedam
8 - Asteroid

@hii_amit Can you please elaborate on this, its not clear what you want to build. 

Are you looking to build hierarchy of line managers?

 

hii_amit
7 - Meteor

Yes I want to create hierarchy but from top to bottom. This is called layers in organisation, assume top most is on layer 1 then i want to identify who is on layer 2, 3 and so on

PraphulSamavedam
8 - Asteroid

If your expected output is 

PraphulSamavedam_0-1608049566088.png


Then please find the workflow package attached:

I would like to thank @JordanB for his solution provided in https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Automatically-Remove-all-null-Colums/t...

and @danilang for his suggestion in https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Multi-Row-formula-for-Multiple-columns... 

PraphulSamavedam
8 - Asteroid

There was small correction in the iterative macro. Attaching it.
Attaching the snapshots of the macro and the configurations used as requested over the call. I hope you would be able to replicate it.

 

hii_amit
7 - Meteor

Praphul it seems you have uploaded batch macro instead of iterative macro

PraphulSamavedam
8 - Asteroid

Sorry,
Please find the attached iterative macro.

 

PraphulSamavedam
8 - Asteroid

Macro configuration:

PraphulSamavedam_1-1608125861211.png

 

 

PraphulSamavedam
8 - Asteroid

Designation added and details of employees added upfront of output. (As requested over the call).

 

Labels