Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
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
Luminary Alumni
Luminary Alumni

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
Luminary Alumni
Luminary Alumni

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
Luminary Alumni
Luminary Alumni

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.