Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jagannalla
Partner - Specialist III
Partner - Specialist III

Create a qvd and tabdeliminated file for tablebox

Hi,

I've a tablebox. And i'm trying to create a qvd file and tabdeliminated file through macro. But, when i see the result of this files size it is same for both. I don'k know where i'm missing.

i tried in macro as below

For tabdeliminated file..

obj.Export "C:\test\test.txt","     "

For qvd file...

obj.Export "C:\test\test.qvd",","

- Not only this  Export method, i tried with different number of methods which are given in API guide(i.e ServerSideExport, ServerSideExportEx....)but no method is generating qvd file with less size.

- One more thing is after generating qvd file with Export method. I tested whether the qvd file is correctly generated or not. I mean when i loading this qvd file in editscript it is showing with deliminater format instead of qvd file. But when i see the datatype in folder it looks QVD.

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Have a look at the explanation i have given in this post.

  http://community.qlik.com/message/141483#141483

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

5 Replies
matt_crowther
Luminary Alumni
Luminary Alumni

http://community.qlik.com/message/5448#5448

You don't need the ',' for the QVD export but the addition of a control '4' is required - see post.

Hope that helps,

Matt - Visual Analytics Ltd

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   Have a look at the explanation i have given in this post.

  http://community.qlik.com/message/141483#141483

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
jagannalla
Partner - Specialist III
Partner - Specialist III
Author

Ok kaushik thanks for your breify explaination. But what about the size of qvd and tabdeliminated file.

"But, when i see the result of this files size it is same for both."

as i mentioned in the post.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    As i said that whenever you use Export command, data will be sent in delimited format.( You have used Export command to create a QVD)

   Use ExportEx or ServerSideEx.

   If you have created QVD using ExportEx, then there may be a posibility that your data contains more unqiue values, and thus you are getting the same sizes of both the files.

   Qvd compression happends only when you have less unique data. Meaning more unique the data is less will be the compression.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
jagannalla
Partner - Specialist III
Partner - Specialist III
Author

Ok kaushik thanks for your description.