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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Combining data from 2 tables

Hi there,

I have a task to combine data from two tables in Qlikview. I am new to Qlikview and have a strong SQL background/

In normal SQL it would be:

SELECT *

FROM tableA

UNION ALL

SELECT *

FROM tableB

How do I achieve this inside Qlikview ?

Many thanks.

Regards,

Mpho

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Concatenate the two tables:

Table1:

Load * from tableA;

concatenate(Table1)

Load * from tableB;

But if you're getting the data from one sql database you can simply use your current sql statement:

Table1:

SQL select * from tableA

union select * from tableB;


talk is cheap, supply exceeds demand
nihhalmca
Specialist II
Specialist II

Hi

Try this..

Load * from tableA;

Outer join

Load * from tableB;