Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
heid_f
Contributor III
Contributor III

Where match() clause with column of another table

Hey all,

I'm working on an app right now and have following problem.

I got a first table of Employees and an employee_id.

 

Now I want to load all Calls (from an qvd - file) where the Call.employee exists in Employees.

 

I tried to use the match function, but I don't know how to refer to the employee_id column of another table.

Is this possible?

 

Thanks for your answers.

    

1 Solution

Accepted Solutions
micheledenardi
Specialist II
Specialist II

Try with Exists() function:

Employee:
Load
   employee_id,
   employee_id as employee_id_check,
   ...
From Employee.qvd(qvd);

Call:
Load
   ....
From Call.qvd(qvd)
 Where exists(employee_id_check,employee);
Drop field employee_id_check;
Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

1 Reply
micheledenardi
Specialist II
Specialist II

Try with Exists() function:

Employee:
Load
   employee_id,
   employee_id as employee_id_check,
   ...
From Employee.qvd(qvd);

Call:
Load
   ....
From Call.qvd(qvd)
 Where exists(employee_id_check,employee);
Drop field employee_id_check;
Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.