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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Concatenate and store qvd file

Hello,

I've different number of two tables in my script. The code which i'm developing for incremental package. Just i'm explain in theory as general discussion. Hope you understand.

For eg:

Table1:

Load * from

Table1

where Date >=Max(previousQvdFileDate);

Table2:

Load A,B,Count(A) as CountA from

Resident Table1

group by ID;

concatenate

Load * from

OldSummqvdFile

Store Table2 into Summarizedqvdfile;

Table3:

Load * from

OldqvdTable;

At last i want to concatenate Table1 and Table3 and it should store into qvd file.

I know for the above process i can go through the below code

Table1:

Load * from

Table1

where Date >=Max(previousQvdFileDate);

concatenate

Table3:

Load * from

OldqvdTable;

Store Table1 into qvdfile;

- But if you oberve the table2. In table2 i'm summarizing the table for latest data. After summarizing the data then only i want to create Incremental qvd file for OldqvdTable.

1 Solution

Accepted Solutions
pover
Partner - Master
Partner - Master

Would this work?

Table1:

Load * from

Table1

where Date >=Max(previousQvdFileDate);

Table2:

Load A,B,Count(A) as CountA from

Resident Table1

group by ID;

concatenate

Load * from

OldSummqvdFile;

Store Table2 into Summarizedqvdfile;

Concatenate (Table1)

Load * from

OldqvdTable;

Store Table1 into qvdfile;

Karl

View solution in original post

2 Replies
pover
Partner - Master
Partner - Master

Would this work?

Table1:

Load * from

Table1

where Date >=Max(previousQvdFileDate);

Table2:

Load A,B,Count(A) as CountA from

Resident Table1

group by ID;

concatenate

Load * from

OldSummqvdFile;

Store Table2 into Summarizedqvdfile;

Concatenate (Table1)

Load * from

OldqvdTable;

Store Table1 into qvdfile;

Karl

Not applicable
Author

Thanks karl

But i got same solution myself. I searched in qvw help content for this and integrated in my application. Anyway thanks for your help.