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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
user8
Contributor III
Contributor III

Lines fetched info

Hi,

I'm loading a QVD file with below command:

LOAD 
[Ref No],
[Name],
Date
FROM [lib://SRO.qvd] (qvd);

Started loading data
SRO
(QVD (row-based) optimized)
Lines fetched: 3,504
Creating search index
Search index creation completed successfully
App saved
Finished successfully

The results show 3,504 lines fetched but when I view the QVD file it only has 1,174 lines/rows.
Why does the LOAD script says 3,504 lines when it has only 1,174 lines in the QVD?

Thank you.

 

1 Solution

Accepted Solutions
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Is there any tables with the same columns loaded previously in the script?

Tables with same columns are auto-concatenated when reloading.

To avoid this, try:

noconcatenate
LOAD distinct
[Ref No],
[Name],
Date
FROM [lib://SRO.qvd] (qvd);

 

View solution in original post

3 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Is there any duplicates in the QVD?

Try:

LOAD distinct
[Ref No],
[Name],
Date
FROM [lib://SRO.qvd] (qvd);
user8
Contributor III
Contributor III
Author

Tried with LOAD distinct but same error.  No duplicates  in QVD file.

Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Is there any tables with the same columns loaded previously in the script?

Tables with same columns are auto-concatenated when reloading.

To avoid this, try:

noconcatenate
LOAD distinct
[Ref No],
[Name],
Date
FROM [lib://SRO.qvd] (qvd);