Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mccook
Creator
Creator

Joining Tables Question

Hi,

I have 2 tables like below:

Table 1

NameColumn 1Column 2Column 3
JohnXXX
DeanX
LisaXX

Table 2

NameColumn 4Column 5Column 6
MaryXX
LisaX
DeanXX

What I need to do is Join the tables to get below:

Table 3

NameColumn 1Column 2Column 3Column 4Column 5Column 6
JohnXXX
DeanXXX
LisaXXX
MaryXX

I've being trying to do a left join on "Name" from table 1 and then table 2 (then I lose Mary, as she doesn't exist in table 1) and then unsuccessfully trying a Concatenate for any names that don't already exist (to get Mary back).

Is there another type of join that I'm missing, please help?


Cheers,


Dean

1 Solution

Accepted Solutions
luis_pimentel
Partner - Creator III
Partner - Creator III

There are 4 types of Join: Left, Right, Outer and Inner

What you need in your example is a Outer Join (or just "Join").

Take a look to the qlikview help.

-Luis.

View solution in original post

4 Replies
maxgro
MVP
MVP

join without left

luis_pimentel
Partner - Creator III
Partner - Creator III

There are 4 types of Join: Left, Right, Outer and Inner

What you need in your example is a Outer Join (or just "Join").

Take a look to the qlikview help.

-Luis.

hic
Former Employee
Former Employee

First of all - you don't need to join the two tables to be able to get a view like you want . Just load the tables and create a straight table or table box.

Should you still want to join, you should do an outer join, i.e.

Load * From A;

Join

Load * From B;

HIC

Not applicable

Use JOIN or OUTER JOIN if you really have to join them instead of relying on QV associative model which does the same by default