Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to connect two tables more than once?

Basically, I have one table called Sale with CashierID and ManagerID. Both fields relate back to EmployeeID in the employee table. I would like for their full names to pop up instead of their employee IDs, but I'm having trouble making this happen in Qlikview. I can get one name to show using (FIRSTNAME||' '||LASTNAME) AS CashierName, but I can't seem to get both to pull the correct name.

Thanks!

1 Reply
maxgro
MVP
MVP

You can load the employee table twice

Rename the EmployeeID field as CashierID for one employees table

and ManagerID for the other.

Sale

     CashierID

     ManagerID

     ......

EmpCashier

     CashierID

     CashierName

     .....

EmpManager

     ManagerID

     ManagerName

     .....