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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] How to extract specific cell from multiple excel in a folder

Hye, 
I need to extract specific cell from multiple excel in a folder.
But, I have a problem which is the output is repeated. 
How to solve the problem? Here, i attached the screenshot what im used to show the output.
0683p000009MAp7.png
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

At first you do not reset the sequence, means every file the sequence value will grow.
Next you write the context variables once but never again, because of that you will always get the same value.
To get an idea what I mean I suggest you set null the values before you set the values, you will see you get mostly null values instead of always the same value.
I would use a tJavaFlex instead of tJavaRow and reset the sequence in the begin part or use simply the file name as name for the sequence.

View solution in original post

15 Replies
Anonymous
Not applicable
Author

The resolution of your screenshot is to low to spot anything on it.
What do you mean with "The output is repeated". The tFileInputExcel component is fairly simple and start reading from the start row until the last row and starts with the start column until the last schema column is reached.
To get one value you have to specify one schema column and setup the start and end row according to your needed position.
If you find that a bit cumbersome (me too) you could try the alternative Excel component tFileExcelReferencedCellInput. This component can read a particular cell addressed by row/col or the Excel address expression "D1" on a specific sheet.
Anonymous
Not applicable
Author

The output is repeated means I have input from multiple excel in a folder, when run the job execution the output read from the first excel only... so, all the output are same..
0683p000009MB0f.png
Anonymous
Not applicable
Author

Hi,
Can you show the settings for your excel component?
vaibhav
Anonymous
Not applicable
Author

Hi, here attached the setting tfileinputexcel..TQ
0683p000009MB4l.png
Anonymous
Not applicable
Author

hi,
sorry but we still not seeing your screenshoot clear enought.
regards
Anonymous
Not applicable
Author

sorii..here, there is new attachment for your reference.... 
0683p000009MB7f.jpg 0683p000009MAwr.jpg
Anonymous
Not applicable
Author

Hi,
Suppose you want to read cell on 5th row and 3rd column then you can set following properties in your tFileInputExcel component
- Set header - 4
- Start column position - 3
- End column position - 3
- Set Limit to - 5
Try above... while doing so you will get an idea.
Thanks
Vaibhav
Anonymous
Not applicable
Author

The reason for getting always the same values must be in the tJavaRow. You design to iterate through the files with tFileList and read every file with tFileInputExcel is fine and should work.
For us between the reading from the excel file and the log output there are a lot of not visible steps and I am sure you will find here the problem. If you need held, please tell us what you do in the tJavaRow and the tFixedFlowInput.
Anonymous
Not applicable
Author

Hi, jlolling...
Here, there is new attachment for reference.. Example, I want to get source from B4, B5 and J1..TQ...
0683p000009MBAO.jpg 0683p000009MAxk.jpg