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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
userid128223
Creator
Creator

when to use concatenate vs join, trigger to decide

I understand the basic difference between concatenate and join. however I get confused as to which one to use in what situation.

can someone please give easy example when you will use 1 vs the other, what triggers that decision. So if you are evaluating and comming up with data model, what aha moment will say use concatenate vs join or vice versa.

2 Replies
tresesco
MVP
MVP

There are some very good community stuffs like : http://community.qlik.com/blogs/qlikviewdesignblog/2012/09/12/to-join-or-not-to-join

and CONCATENATE vs JOIN

you should look into.

maneshkhottcpl
Partner - Creator III
Partner - Creator III

Hi

Let Table A

ID, Name

1, X

2, Y

Table B

ID, Gender

1, M

2, F

3, M

If you

Load A

Concatenate

Load B

then Output will be

ID, Name, Gender

1, X, -

2, Y, -

1, -, M

2, -, F

3, -, M

as concatenate appends the rows so for ID 1 and 2 Gender is null as no Gender is table A

now second scenario

Load A

Left Join

Load B

Out put

ID, Name, Genjder

1, X, M

2, Y, F

as join add entity to existing table i.e A or B

Regards

Manesh