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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
lokeshbabu
Contributor
Contributor

Need to read 1st record from each sheet from single Excel.

Hi,

 

I have multiple sheet in single excel , I have to read header of each sheet.

Please post the solution.

 

Thanks

Lokesh

 

Labels (2)
5 Replies
TRF
Champion II
Champion II

Use tFileInputExcel with the following settings:
- All sheets option ticked
- Limit = 1
- Affect each sheet option ticked
- First column and Last column depending on your sheets structure
This suppose the header line is the 1rst one. Else, use the Header field to set the number of lines to ignore before the header.
vboppudi
Partner - Creator III
Partner - Creator III

does each sheet has same number of header attributes?

 

Regards,

lokeshbabu
Contributor
Contributor
Author

Hi ,

 

 Thanks for replying,

 

i have tried this option before but it is give header of the 1st sheet, not from all sheets.

Please let me know some other option.

 

thanks

lokesh

 

 

lokeshbabu
Contributor
Contributor
Author

Hi Veeranjaneyulu,

 

Yes, All sheets have same number of attributes.

 

Thanks

Lokesh

vboppudi
Partner - Creator III
Partner - Creator III

Hi Lokesh,

I am not sure about options in tfileInputExcel to restrict header record.

May be you can try with tMap to filter only header record from all sheets.

 

0683p000009LxVN.png

 

Here create sequence based on sheet name and filter first record from each sheet.

 

Regards,