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

Append row to the existing CSV file

Hi Guys,

 

i have a out.csv file with 1 row. Now i need to read the input excel file input.xls and write the values in the same output.csv file with header.

 

How to do it? please help me

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@abishagopalan ,yes..the header is not appending,since you need to manage manually to populate header first using below way and then populate original data.

 

0683p000009M3y2.png

View solution in original post

6 Replies
manodwhb
Champion II
Champion II

@abishagopalan, check the below job.

0683p000009M3rR.png

 

Anonymous
Not applicable
Author

Hi Mano,

Thanks for the quick response.
In my case my input excel file has different schema and output csv file will have different schema when i map my input.xls to output file i need to get my output file headers.but i am always getting my input file header while appending.
manodwhb
Champion II
Champion II

@abishagopalan ,can you try by selecting append and Input Header  there in basic settings of tFileOutputDelimiter?

Anonymous
Not applicable
Author

Yes i have done 

below is my output file

in this file i need to append my excel file data,

 

0683p000009M3xA.png

 

i have attached my tFileInputExcel and tFileOutputDelimited configurations with schema

 

0683p000009M3nF.png

 

 

tFileOutputDelimited

 

 

0683p000009M3xY.png

 

 

my expected output should like below

 

 

 

 

0683p000009M3xd.png

 

but what i am getting currently is like below

 

0683p000009M3xn.png

 

i am not getting the headers though i have selected tFileOutputDelimited addheaders 

 

Kindly validate me

 

Regards,

Abisha

manodwhb
Champion II
Champion II

@abishagopalan ,yes..the header is not appending,since you need to manage manually to populate header first using below way and then populate original data.

 

0683p000009M3y2.png

Anonymous
Not applicable
Author

Thanks Mano.