Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
varunvarma
Contributor III
Contributor III

join understanding doudt

Hi all,

I have small doudt in joins. Eg :- Please look below picture.

Capture.PNG

In 1 case EMPID is the key, what is the key in 2 case ? please clarify. Thank you.


1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Alias name.

Regards

ASHFAQ

View solution in original post

9 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

EMPNA for second .

Check this for more clarification on how join works in Qlik.

http://community.qlik.com/docs/DOC-6562

http://community.qlik.com/thread/39177

http://community.qlik.com/thread/134760

Regards

ASHFAQ

marcus_malinow
Partner - Specialist III
Partner - Specialist III

In the second example, EMPNA is the key being used for the JOIN as it is your only common field.

varunvarma
Contributor III
Contributor III
Author

Hi,

Thanks for the reply. If alias name are there then how it will treat the keys. i.e actual names or alias names or both ?

Anonymous
Not applicable

Hi  Varun

The 1st condition is trying to join based on EMPID field while 2nd condition is trying to join based on the name field (EMPNA)

-Jay

ashfaq_haseeb
Champion III
Champion III

Alias name.

Regards

ASHFAQ

its_anandrjs

Hi,

In the first join is based on EMPID and in second it is based on EMPNA and you can use both also

Like

Load EMPID,EMPN as EMPNA,SAL from table1;

Left join

Load EMPID,EMPNA,SALA from table2;

Regards

Anand

varunvarma
Contributor III
Contributor III
Author

Hi Ashfaq,

Please look at below picture. Capture.PNG

In 2nd case left join, what is key ???. Please clarify me. Thank you.

ashfaq_haseeb
Champion III
Champion III

Hi

It will join on both fields

Regards

ASHFAQ

varunvarma
Contributor III
Contributor III
Author

Thank you so much