Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
xyz1
Creator III
Creator III

?

.

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

This is working for me:

LOAD

    "Month",

    "Forecast CAPEX",

    "Forecast GFC",

    "Initial CAPEX",

    "Initial GFC"

FROM [lib://aaa/trash.xlsx]

(ooxml, embedded labels, header is 16 lines, table is Sheet1) where RecNo()<13;

View solution in original post

9 Replies
tresB
Champion III
Champion III

You could probably increase/decrease the Header size to browse to different table in the same sheet.

Capture.JPG

xyz1
Creator III
Creator III
Author

.

tresB
Champion III
Champion III

If this is a static data source you could put a condition for upper tables to tell how far (may be row count) to fetch the data for that specific table. May be like:

Load

          *

From [lib://....] Where RecNo()<100;

Or you may put a flag in between to check to put a break in the load.

xyz1
Creator III
Creator III
Author

.

tresB
Champion III
Champion III

No. I meant to insert a static value for your fist column. But that would not be an easier option I realize. So better stick with the row count method if that solves your purpose.

xyz1
Creator III
Creator III
Author

.

tresB
Champion III
Champion III

Yes, without that brackets for where clause, like

FROM [lib://Trend/Trend.xlsm] Where RecNo()<12 ;

Isn't it working?

xyz1
Creator III
Creator III
Author

.

tresB
Champion III
Champion III

This is working for me:

LOAD

    "Month",

    "Forecast CAPEX",

    "Forecast GFC",

    "Initial CAPEX",

    "Initial GFC"

FROM [lib://aaa/trash.xlsx]

(ooxml, embedded labels, header is 16 lines, table is Sheet1) where RecNo()<13;