Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Joining QVDs

Hi Guys,

Can I join two (or more QVDs) using SQL type queries.

Example:

I have two QVDs which have one common column using which i would like to do a outer join and fetch some columns from both the qvds. Is it possibe? Some thing like the one below!!!

LOAD

a.X, b.X, a.Y,a.Z

from abc.qvd (qvd) a LEFT OUTER JOIN def.qvd (qvd)

ON a.X=b.X

Regards,

Clara

1 Solution

Accepted Solutions
stephencredmond
Luminary Alumni
Luminary Alumni

Hi Clara,

Yes, you can join. The syntax is slightly different:


Table:
Load
X,
Y,
Z
From abc.qvd (qvd);
Left Join Load
X,
D,
E,
F
From def.qvd (qvd);


You don't need to specify which fields to join on, QlikView will automatically join on any matching fields.

Regards,

Stephen

View solution in original post

3 Replies
Not applicable
Author

hello Clara

try something like this

Result:

Load
X,
Y,
Z,
from abc.qvd (qvd)

Left outer join(Result)

Load
X,
W,
R
from def.qvd (qvd);

It should work

Talha

stephencredmond
Luminary Alumni
Luminary Alumni

Hi Clara,

Yes, you can join. The syntax is slightly different:


Table:
Load
X,
Y,
Z
From abc.qvd (qvd);
Left Join Load
X,
D,
E,
F
From def.qvd (qvd);


You don't need to specify which fields to join on, QlikView will automatically join on any matching fields.

Regards,

Stephen

Not applicable
Author

Thanks Stephen... It worked...

Thanks Talha for responding...

Regards,

Clara