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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
avantime
Creator II
Creator II

Concatenate tables resulted from Left Joins

Hi

Is it possible to quickly concatenate two tables like this?

(

Load  *

From dbA;

Left Join

Load *

From dbB;

)

Concatenate

(

Load  *

From dbC;

Left Join

Load *

From dbD;

)

I mean I know the syntax is not correct but I figure that there must be a faster way to do it rather than creating separate temporary tables and concatenating them together afterwards.


3 Replies
stascher
Partner - Creator III
Partner - Creator III

Have you tried

Table1:

Load  *

From dbA;

Left Join

Load *

From dbB;

concatenate(Table1)

Load  *

From dbC;

Left Join

Load *

From dbD;

avantime
Creator II
Creator II
Author

Hi Steven,

Thank you for your reply.

I knew about this method, but the last left join will look something like:

((

Load  *

From dbA;

Left Join

Load *

From dbB;

)

Concatenate

Load  *

From dbC;

)

Left Join

Load *

From dbD;

Please check attached example;

Qrishna
Master
Master

Hi - As you are loading from different tables from different data sources, you have to have multiple joins to establish proper relation.There's no faster way as far as i know unless the fields are common or data sources are common.

May be other experts might have good knowledge on this.