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: 
AbhishekBoga
Contributor
Contributor

Fetch Line_Number from Excel file using Talend

Hi All,

 

This is my first post and hope so expecting a positive response on my query.

 

I am working on a requirement where I have to extract data from Excel, convert into CSV then convert into JSON and than load into snowflake table. I am able to achieve all above things but where I stuck on below 2 things :

1. How to fetch excel line_number from each sheet in a single excel file. 

2. Read all Line_number from all the sheet of a single CSV file

 

Find the attached screenshot where i want to read excel line_number (Attachment name: "Excel Line Number" hightlighted in blue which starts from 2) and create a CSV file. So let's say an Excel File is having 3 sheets, each having 10 records, so my final CSV should look like as per the attachment (name: "Target CSV File")

 

I hope my requirement is clear to understanding the query. Please let me know how i can achieve this handling.0683p000009M4EF.png0683p000009M4EK.png

 

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello

 

I suggest tJavaRow to implement line numbers 

 

Find attached a sample job

 

 


talendJob.zip

View solution in original post

2 Replies
Anonymous
Not applicable

Hello

 

I suggest tJavaRow to implement line numbers 

 

Find attached a sample job

 

 


talendJob.zip
AbhishekBoga
Contributor
Contributor
Author

Thanks dgm01.

 

Your solution worked for me...