Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi
i want load just last row from excel file
i see post about this problem but dont work for me
please guide me
tanks
Try like:
temp:
LOAD
A,
B,
C,
D
FROM
(ooxml, embedded labels, table is Sheet1);
LET a = NoOfRows('temp');
NoConcatenate
Final:
LOAD
*
Resident temp Where RecNo()=$(a);
DROP Table temp;
Note: Try RecNo() unlike rowno() in the post you read.
If those solutions don't work for you, it could be that the issue is a specific one for your file or how you are trying. Could you explain- how your excel looks like and how exactly you are trying?
my file is normal
please see 1.qvw file
Try like:
temp:
LOAD
A,
B,
C,
D
FROM
(ooxml, embedded labels, table is Sheet1);
LET a = NoOfRows('temp');
NoConcatenate
Final:
LOAD
*
Resident temp Where RecNo()=$(a);
DROP Table temp;
Note: Try RecNo() unlike rowno() in the post you read.
i have 3 error
1-
Field not found - <A>
temp:
LOAD
A,
B,
C,
D
FROM
(ooxml, embedded labels, table is Sheet1)
2-
Table not found error
Table 'temp' not found
NoConcatenate
Final:
LOAD
*
Resident temp Where recno()=
3-
Table not found
DROP TABLES statement
please send edited file
thanks
i change a,b,c,d to * and its ok
thankyou