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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

storing and loading local varaibles to and from qvd fileTable1

Guys,

I have written this code to store some local variable in qvd and reload them back.

Table1:

Load * INLINE [

id, desc

1, One

2, Two

];

STORE Table1 into 'C:\test data\QVDs\Test.qvd';

DROP Table Table1;

Table2:

Load *

From 'C:\Test data\QVDs\Test.qvd';

It stores the values and when i go load them back then i see some strange behavior.

It shows that 124 lines are loaded back

and they seem to be XML version

What am I doing wrong here?

When i open the QVD file in QViewer then see rows correctly.

i.e.

1 One

2 Two

I tried

Table2:

Load id, desc

From 'C:\Test data\QVDs\Test.qvd';

but it says that FieldNames are unknown

1 Solution

Accepted Solutions
rbecher
MVP
MVP

You will need to add the file type in the LOAD statement:

Table2:

Load *

From 'C:\Test data\QVDs\Test.qvd' (qvd);

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine

View solution in original post

5 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Could you please attach the qvd created her?

rbecher
MVP
MVP

You will need to add the file type in the LOAD statement:

Table2:

Load *

From 'C:\Test data\QVDs\Test.qvd' (qvd);

- Ralf

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Clever_Anjos
Employee
Employee

STORE Table1 into 'C:\test data\QVDs\Test.qvd'(qvd);

rbecher
MVP
MVP

..this is the default (not really need) and not the cause of the issue.

Data & AI Engineer at Orionbelt.ai - a GenAI Semantic Layer Venture, Inventor of Astrato Engine
Not applicable
Author

Thanks Ralf...it worked.