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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Delete function in qvd

Hi,

What command can I use to delete a week number in a particular year from a qvd?

something like below:

Table Name:

LOAD *

FROM

test.qvd(qvd)

????????????

Where Year = '2011' and Week = '48'

;

STORE Table Name into test.qvd;

Im not sure if there is a command e.g. Delete

Thanks,

Gregg

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

It won't delete every thing in 2011, because we used and condition for week 48.  The records which has Year as 2011 and Week as 48 will be deleted.

Hope this helps you.

Regards,

jagan.

View solution in original post

3 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try the following script

TableName:

LOAD *

FROM

test.qvd(qvd)

Where Year<> 2011 and Week <> 48;

STORE TableName into test.qvd;

Hope this helps you.

Regards,

Jagan.

Not applicable
Author

Hi,

Do you know if this wont delete everything from 2011, only the week 48 from2011?

Thanks,

Gregg

jagan
Partner - Champion III
Partner - Champion III

Hi,

It won't delete every thing in 2011, because we used and condition for week 48.  The records which has Year as 2011 and Week as 48 will be deleted.

Hope this helps you.

Regards,

jagan.