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

i need few diff plz

hello,i need to few diff b/w these

1.diff b/w join and concatenation

when to use join and when to use concatenation in real time

2.diff b/w join and keep

when to use join and when to use concatenation in real time

3.diff b/w join and lookup

when to use join and when to use concatenation in real time


thanks in advance


1 Reply
Chanty4u
MVP
MVP

Hi,

hi

  • Diff b/w left keep and left join?
  • 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 with a full set of data from 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
AB
1Aa
2Cc
3Ee
Table2
AC
1Xx
4Yy
  • 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.


Thanks


Suresh