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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use left keep

Hi,

I have the following scenario:

Table1:

Load * from A

Table2:

Load * from B

Concatenate

Load * from C

I want use left keep to join Table1 and Table2, how to achieve? It means I want Table1 left keep the Table2.

Anyone knows?

Thanks.

5 Replies
martin59
Specialist II
Specialist II

Hi, You can try this :

Table2:
Load * from B;
Concatenate
Load * from C;

LEFT KEEP (table2)
Load * from A ;


Hope that helps you

Not applicable
Author

Hi Isaac,

a few days ago a build a little example application with left/right keep and left/right join. Please take a look at it. Promote/demote the "exit-tab" in the script and see whats happening.

HtH

Roland

Not applicable
Author

Hi,

LEFT KEEP (table2)

Load * from A ;

It means Table2 is at the left and A at the right, is that right?

I want to put A into left and Table2 into the right.

How to do?

martin59
Specialist II
Specialist II

It means Table2 is at the left and A at the right, is that right?

Yes, that's right.

I want to put A into left and Table 2 into the right

You have to do

RIGHT KEEP (table2)
LOAD * from A;


Otherwise, you can load A in first and use Left Keep.

martin59
Specialist II
Specialist II

Look at this application, and maybe you'll understand better