Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

what is difference between left and left keep join in qlikview

Please suggest

9 Replies
senpradip007
Specialist III
Specialist III

The Join and Keep prefixes can be preceded by the prefix left.

If used before join it specifies that a left join should be used. The resulting table will only contain combinations of field values from the raw data tables where the linking field values are represented in the first table.

If used before keep, it specifies that the second raw data table should be reduced to its common intersection with the first table, before being stored in QlikView.

left( join | keep) [ (tablename ) ](loadstatement |selectstatement )

Examples:

Table1

A

B

1

aa

2

cc

3

ee

Table2

A

C

1

xx

4

yy

QVTable:

select * from table1;

left join select * from table2;

QVTable

A

B

C

1

aa

xx

2

cc

3

ee

QVTab1:

select * from Table1;

QVTab2:

left keep select * from Table2;

QVTab1

A

B

1

aa

2

cc

3

ee

QVTab2

A

C

1

xx

The two tables in the keep example are, of course, associated via A.

tab1:

Load * from file1.csv;

tab2:

load * from file2.csv;

.. .. ..

left keep (tab1) load * from file3.csv;

aveeeeeee7en
Specialist III
Specialist III

Anonymous
Not applicable
Author

ashfaq_haseeb
Champion III
Champion III

Hi,

Look at this too.

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

Regards

ASHFAQ

maxgro
MVP
MVP

from Qlikview en espanol

join.png

keep.png

Not applicable
Author


Thankssssss everyone for quick response,

Special thanks to Grossi

senpradip007
Specialist III
Specialist III

If you get the desire result please close this thread.

Not applicable
Author


how to close the thread , i m new to this blog

senpradip007
Specialist III
Specialist III

Choose the correct answer as correct and helpful as helpful answer.