Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
mmhw
Contributor
Contributor

Calculated field using existing data in row

Hi!

I have a table looking something like this:

EmployeeIdEmployeeNameManagerId
1John Doe2
2Jerry Johnson0
3Jane Doe2

 

Jerry is John and Jane's manager but instead of id, I would like to add a calculated column ManagerName. So something like add EmployeeName from row where EmployeeId = ManagerId. How can I achieve this? I am completely new att Qlik Sense but can't seem to find any answers to this.

Thank you!!

 

Labels (1)
1 Reply
Kushal_Chawda

@mmhw  try below

Data:
LOAD EmpID,
     EmpName,
     MgrID
FROM table;

left join(Data)
LOAD EmpID as MgrID,
     EmpName as MgrName,
resident Data;