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

Two tables and one QVD

Hi All,

I have two tables by name  ANDROID and iOS , i want to make one QVD for both the files , how do i do that

thanks in advance

5 Replies
agomes1971
Specialist II
Specialist II

Hi,

see this...

Incremental Load in QlikView – Part1 | Learn QlikView

Hope it helps

Regards

André Gomes

Anonymous
Not applicable
Author

Only if you concatenate the two tables

Both:

noconcatenate Load ...

resident Android

concatenate (Both) load

..

resident IOS

store Both to Both.qvd

its_anandrjs
Champion III
Champion III

Hi,

By the help of Common QVD creation you can do this like

ANDROID:

Load *
From Android;

iOS:

Load *
From iOS;

Noconcatenate

CommonQvd:

Load *

Resident Android;

Concatenate(CommonQvd)

Load *
Resident iOS;

Store CommonQvd into CommonQvd.qvd;

Regards,

Anand

amit_saini
Master III
Master III

I got this solution on community , try if this helps u:

You can store in QVD files using like this

STORE Table1 INTO Table1.qvd;

STORE Table2 INTO Table2.qvd;

STORE Table3 INTO Table3.qvd;

'

'

'

'

STORE Tablen INTO Tablen.qvd;

Or you can use For loop to store all tables in QVDs like below


FOR vCount = 0 to NoOfTables()-1

     LET vTableName = TableName($(vCount));

     STORE $(vTableName ) INTO $(vTableName).qvd (qvd);

NEXT vCount

Thanks,

AS

ychaitanya
Creator III
Creator III

From your queestion i understand:

1) We can't write the different tables into same QVD.( Latest Table data will be written to QVD will replacing the older table data)

I have just tried with the following example:

You can comment store commands and observe the difference.

LOAD * INLINE [

    A

    1

    2

    3

]
;



Store Tab1 into C:\user\Tab1.qvd;



Tab2:

LOAD * INLINE [

    B

    1

    2

    3

]
;

Store Tab2 into C:\user\Tab1.qvd;

IF YOU WANT TO ACHIEVE THIS:

1)You can concatenate/Join the tabled and load to QVD.

2)Outer join/Left Join/Right Join might help if you have the common column .

3) Concatenate both the tables.

Thanks

Chaitanya Y