Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
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
4 Replies
vikasmahajan

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
Luminary Alumni
Luminary Alumni

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
Luminary Alumni
Luminary Alumni

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