Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ShashiRanjan
Partner - Contributor
Partner - Contributor

Task

Hi,

This is my input table which contains ID, Name, and ManagerID.

clipboard_image_0.png

And my requirement is to create a table which contains ID, Name, ManagerID, and ManagerName.

clipboard_image_1.png

Labels (1)
1 Solution

Accepted Solutions
StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

you could create the field inside script

LOAD * FROM TABLE;

Left Join

LOAD 

ID as ManagerID,

Name as ManagerName

Resident TABLE;

View solution in original post

3 Replies
Anil_Babu_Samineni
MVP
MVP

If you show this table, I can think this way

If(Manager_ID = 1, 'A', Null()) as Manager_Name

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

you could create the field inside script

LOAD * FROM TABLE;

Left Join

LOAD 

ID as ManagerID,

Name as ManagerName

Resident TABLE;

ShashiRanjan
Partner - Contributor
Partner - Contributor
Author

 that worked perfectly.