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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
hafaneh
Contributor III
Contributor III

Hist Qvd

Hello, 
can i store a qvd in a qvd like this : 

LOAD
DOCNO,
TRXH_LOC_CODE,
FROM [lib://DataFiles/ALLHistory.qvd]
(qvd);

Concatenate

LOAD
DOCNO,
TRXH_LOC_CODE,
FROM [lib://O/xxx_Daily3Days.qvd]
(qvd);

STORE xxx_Daily3Days INTO 'lib://DataFiles/3daysDailySales.qvd' (qvd);
drop Table xxx_Daily3Days;

 

 

i have a qvd that i take from the server that have only 3 days daily data, 

i want to make the qvd for the history on the cloud. 

 

1 Solution

Accepted Solutions
PrashantSangle

try below

historicalQVD:

LOAD
DOCNO,
TRXH_LOC_CODE,
FROM [lib://DataFiles/ALLHistory.qvd]
(qvd);

Concatenate

LOAD
DOCNO,
TRXH_LOC_CODE,
FROM [lib://O/xxx_Daily3Days.qvd]
(qvd);

STORE historicalQVD INTO 'lib://DataFiles/3daysDailySales.qvd' (qvd);
drop Table xxx_Daily3Days;

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

7 Replies
PrashantSangle

yes, you can.. are you getting any error?

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
hafaneh
Contributor III
Contributor III
Author

hello,
yeah : 

The following error occurred:
Table 'xxx_Daily3Days' not found
 
The error occurred here:
STORE xxx_Daily3Days INTO 'lib://DataFiles/3daysDailySales.qvd' (qvd)
PrashantSangle

do you have that qvd in that location??

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
PrashantSangle

you are getting error in below part of script.

PrashantSangle_0-1704349148577.png

 

Just check

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
hafaneh
Contributor III
Contributor III
Author

@PrashantSangle 

yes yes im getting this qvd from their its on the onedrive so i take it from their 

PrashantSangle

try below

historicalQVD:

LOAD
DOCNO,
TRXH_LOC_CODE,
FROM [lib://DataFiles/ALLHistory.qvd]
(qvd);

Concatenate

LOAD
DOCNO,
TRXH_LOC_CODE,
FROM [lib://O/xxx_Daily3Days.qvd]
(qvd);

STORE historicalQVD INTO 'lib://DataFiles/3daysDailySales.qvd' (qvd);
drop Table xxx_Daily3Days;

 

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
HAmzehAF
Partner - Creator
Partner - Creator

@PrashantSangle 

hello can you tell how to fix this 

Started loading data
 
xxx_Daily3DaysNEW << xxx_Daily3DaysNEW (QVD (row-based) optimized)
Lines fetched: 1,418,274
xxx_Daily3DaysNEW << xxx_Daily3Days (QVD (row-based) optimized)
Lines fetched: 2,127,411

when i load the data i get duplicate