Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
deepakqlikview_123
Specialist
Specialist

Concatenation of 3 fact tables

Hello Expert,

I want to concatenate 3 fact tables having different structure,

Can you please suggest how to concatenate them.

Thanks,

Deepak

1 Solution

Accepted Solutions
tresesco
MVP
MVP

You can simply write like:

Table1:

Load * from Resident Tablename;

Concatenate      // if you don't mention the table name here qv would concat it with the previous table

Load * from Resident Tablename2;

View solution in original post

4 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The CONCATENATE (tablename) prefix on a LOAD statement will force concatenation of tables even if they have different field names.

-Rob

deepakqlikview_123
Specialist
Specialist
Author

Hi Rob ,

Please find below syntax,

Table1:

No Concatenate,

Concatenate(Table1)

Select * from Resident Tablename,

Drop table Tablename1;

Concatenate(Table1)

Select * from Resident Tablename2,

Drop table Tablename2

Is this will work fine.Please suggest.

Thanks,

Deepak

tresesco
MVP
MVP

You can simply write like:

Table1:

Load * from Resident Tablename;

Concatenate      // if you don't mention the table name here qv would concat it with the previous table

Load * from Resident Tablename2;

engishfaque
Specialist III
Specialist III

Hi Deepak,


Problem Solved, please check attached.

TableConcatenation.png