Alteryx Designer Desktop Discussions

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

Employee Hierarchy match with different table

bharatm
6 - Meteoroid

Hi,

New to ALteryx, I have two tables one has the employee details and the other has hierarchy details as shown below

Table A

EMPLOYEE IDUSERIDFirstNameLastNAme
123456test1IAMTEST
245678Test2HELLOTEST2
345789Test3IamLEGEND
458905Test4TERMINATOR II

Table B

EMPLOYEE IDUSERIDLEVEL1LEVEL2LEVEL3LEVEL4LEVEL5LEVEL 6LEVEL 7LEVEL 8LEVEL 9LEVEL 10
123456test1456789789678678956nullnullnullnullnullnullnull
245678Test2456789789678564789897654678956nullnullnullnull 
345789Test3456789567890nullnullnullnull    
458905Test4456789789678678956563456879654789603342567nullnull 
678956Test5456789789678nullnullnull     
789678Test6456789nullnullnull      

 

how can I get the end table with USERID 's from table1 replace LEVEL 1 which contains EMPLOYEEID and add new column after each LEVEL with name added?

EMPLOYEE IDUSERIDLEVEL 1NAMELEVEL 2NAMELEVEL3NAMELEVEL 4NAMELEVEL 5LEVEL 6LEVEL 7LEVEL 8LEVEL 9LEVEL 10
123456test1test100 test67 yupp3         
245678Test2test100 test67 upoi1 tryme1 iamnew     
10 REPLIES 10
fmvizcaino
17 - Castor
17 - Castor

Yes @danilang , I overcomplicated the problem and didn't follow what Confucius told us. hahahaha

 

fmvizcaino_0-1574703431182.png

Labels