Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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;
add this where clause..
where not wildmatch(RecNo() , 9,13);
Thanks a lot Phaneendra,
Its working.
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
Hi Lalit,
Better you can try to use the variable rather putting the hard coded value.
Regards,
Mahamed