Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

How to use order by clause while loading data from qvd

Hi

        I m using this trick for order by.

Maintable:

LOAD

filed1,

filed2,

field3

from

FROM

    netadd_from_mindate_to_tilldate.qvd(qvd);

temp:

NoConcatenate

Load * resident Maintable

order by field1, filed2 ;

drop table Maintable;

rename table temp to Maintable;

store Maintableinto 'D:\reruntesting\Data\RawQvds\Maintable.qvd';

But this is giving error like

"Field not found temp:"

Can anyone please tell what mistake i m doing?

Thanks

5 Replies

Re: How to use order by clause while loading data from qvd

Please check the spelling in your example code. Field names don't match, and you have two FROM clauses in the first load.

Best,

Peter

sujeetsingh
Honored Contributor III

Re: How to use order by clause while loading data from qvd

I dont get why are you renaming the temp table is it too much needed

Not applicable

Re: How to use order by clause while loading data from qvd

Thanks Peter,

i really ashamed on asking this type of stupid question. I should take care of these things.

It was typing mistake.

Not applicable

Re: How to use order by clause while loading data from qvd

Yeah! you are right, actually its not required to rename.

er_mohit
Honored Contributor II

Re: How to use order by clause while loading data from qvd

check your spell i.e field1 or filed1 for this so, remove this error and might be helpful for you....

Community Browser