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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

JOIN() AND KEEP() FUNCTIONS

what is the difference between JOIN() and KEEP() functions and also similarities of the those functions  in qlikview

Labels (1)
4 Replies
Not applicable
Author

The keep prefix is similar to the Join prefix. Just as the join prefix, it compares the loaded table with an existing named table or the last previously created data table.

But instead of joining the loaded table with an existing table, it has the effect of reducing one or both of the two tables before they are stored in QlikView, based on the intersection of table data. The comparison made is equivalent to a natural join made over all the common fields, i.e. the same way as in a corresponding join. However, the two tables are not joined and will be kept in QlikView as two separately named tables.


Note!
The explicit Join prefix in QlikView script language performs a full join of the two tables. The result is one table. In many cases such joins will result in very large tables. One of the main features of QlikView is its ability to make associations between multiple tables instead of joining them, which greatly reduces memory usage, increases processing speed and offers enormous flexibility. Explicit joins should therefore generally be avoided in QlikView scripts. The keep functionality was designed to reduce the number of cases where explicit joins needs to be used.

vikasmahajan

Document by Mr.Henric

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.
Siva_Sankar
Master II
Master II

Subbu,

You can get a deep understanding with examples and differences between Joins and Keep Functions here

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

Regards.

Siva

IAMDV
Master II
Master II

Subbu,

I've made video tutorials on Joins. Please check the below links...

http://qlikshare.com/877


http://qlikshare.com/898

Thanks,

DV