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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with joins

Hi,
I am trying to join two tables
Basically everything in table 1 is exempt so these people dont need to be shown. And table 2 has a list of everyone. Im trying to join the two tables So that the people who have exemption dont appear. Could someone advise how i go about doing this.
Thanks in advance,
Kind regards,
Natalie
Table 1 (Exempt)
First Name
Surname
Location
Table 2
First Name
Surname
Locations
Labels (1)
4 Replies
vikasmahajan
MVP
MVP

Select First Name,Surname,Locations

from table2

inner join table 1

where exempt < Condition>

Hope this helps

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
jvitantonio
Specialist III
Specialist III

Hi, please use the following code

t1:

LOAD

autonumber([First Name]&[Surname]&[Location]) as Key, [First Name], Surname, Location

FROM ...

t2:

NOCONCATENATE

LOAD

autonumber([First Name]&[Surname]&[Location]) as Key, [First Name], Surname, Location

FROM ...

WHERE NOT EXISTS (Key);

Drop Table t1;

I hope this helps.

Not applicable
Author

Hi, Thank you for your response i have just tried this but it comes up with a field not found - <Key> error

jvitantonio
Specialist III
Specialist III

Make sure your field names are accurate. Otherwise please attach your application here so I can take a look at it.