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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
TharunJoshi
Contributor III
Contributor III

tfilelist

Hello,

My Excel File name is PIGEON it has four worksheets

P

Q

R

S

1.For this I know I can do this job separately by creating different jobs but I want to do it at one go because the EXCEL file and the columns inside it will not change.

2.There will be a possible solution by using only one TFILELIST I can ITERATE to all the worksheets and the outputs of all can be attached to only one TFILECOPY.

Suggestions Please

0683p000009M4LG.png

 

 Worksheet 4-------->mssqlDB 4-------->save the file with ts

 

0683p000009M4LL.png

                     

Labels (1)
13 Replies
nivedhitha
Creator III
Creator III

@TharunJoshi 

 

if there are business logics, then you have to process each sheet separately. 

TharunJoshi
Contributor III
Contributor III
Author

You mean to say from four worksheets i have to download each worksheet separately and make four excel sheets and tmap

nivedhitha
Creator III
Creator III

@TharunJoshi 

 

you don't need any custom components. 

the simplest would be to create a job like this. 0683p000009M5Aw.png

 

 

the tFileInputExcel has option to specify the sheet name

0683p000009M5B1.png

that is how it has to be configured for your 1st sheet. give the name of the sheet ("P" in your case) or 0 (automatically picks the first sheet) for the first tFileInputExcel input the corresponding schema for it and then do the business logic in tMap.

In the second subjob,0683p000009M5BL.png

the sheet name has to be "Q" or 1, schema for the second sheet and map it to the corresponding table.0683p000009M5BQ.png

 

And so on for the subsequent sheets.

Let me know if you have any trouble