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: 
struniger
Creator
Creator

Loading the first tab from an XLSX

Hi all,

I get an XLSX File with a known structure per tab, but I don't know how the tabs are called.

I have to make sure I always load the first tab.

This works nicely with XLS files using 'table is @1' but this is not possible with XSLX.

I tried reading the tabs via ODBC (according to How to load first tab of xls without using the tabname) but don't see a way of identifying the first tab.

Any idea, hint or help would be appreciated.

Thanks

Stefan

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

3 Replies
marcus_sommer
MVP
MVP

Have a look here: Re: How to load from variable table name

- Marcus

ThornOfCrowns
Specialist II
Specialist II

Removing the "Table Is XXX" from your load will force the first tab to be loaded, I think.

E.G.

LOAD *

FROM

(ooxml, embedded labels);

Not applicable

to change the sheet only need to change value for first sheet 1$,second sheet 2$ ....

FROM

abc.xls

(biff, embedded labels, table is Sheet1$);

you can chose header row also by using header size as lines and then chose the line.