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: 
lalitkgehlot89
Creator II
Creator II

logic Help.

Hi Every One.

I want to skip 9 and 13 no row in Excel during load how do we need to do.

Thanks,

Lalit Kumar

5 Replies
avinashelite

you could assign a rowno() column and do a resident load ...

Try like this

TEST:

LOAD *,

rowno() as Number

from excel;

Result:

LOAD *

resident

TEST

where Number<>'9' and Number<>'13';

drop table TEST;

drop field Number;

phaneendra_kunc
Partner - Specialist III
Partner - Specialist III

add this where clause..

where not wildmatch(RecNo() , 9,13);

lalitkgehlot89
Creator II
Creator II
Author

Thanks a lot Phaneendra,

Its working.

PrashantSangle

Hi,

or you can remove it while loading like

add below filter function at end of file property

filters(

Remove(Row, Pos(Top, 9)),

Remove(Row, Pos(Top, 13))

)

your script like

Load *

from Filename

(ooxml, embedded labels, table is Sheet2,

filters(

Remove(Row, Pos(Top, 9)),

Remove(Row, Pos(Top, 13))

)

)

or try with Enable Transformation steps

Kind Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Mahamed_Qlik
Specialist
Specialist

Hi Lalit,

Better you can try to use the variable rather putting the hard coded value.


Regards,

Mahamed