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: 
Anonymous
Not applicable

Problem with using tFileInputDelimited for csv file

Hi,

 

I'm using TDI open studio where I'm trying to read csv file from local machine using tFileInputDelimited. 

Below is the screenshot of the csv :

0683p000009LugN.png

 

In properties of tFileInputDelimited:

 

0683p000009LucD.png

 

Output for field separator = ";"

 

0683p000009LugS.png

 

Output for field separator = ","

0683p000009LuEZ.png

 

2 Problems:

1.Why each value is enclosed in double quote (")

2. Field separator = "," just working fine, but what in case of value like "Fife, WA" in column NAME ?

 

So, what could be done in order to read data from csv file in an efficient way ?

Thanks !

 

 

 

 

 

 

 

 

 

 

 

 

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Field separator must not appear in the content, that's the problem you have, field separator is "," and it appears in content (LWNAME = fife,WA).

You must change the separator in the source file, or enclose field values between quotation marks ("fife,WA") and tick "CSV options" field.

View solution in original post

2 Replies
TRF
Champion II
Champion II

Field separator must not appear in the content, that's the problem you have, field separator is "," and it appears in content (LWNAME = fife,WA).

You must change the separator in the source file, or enclose field values between quotation marks ("fife,WA") and tick "CSV options" field.

Anonymous
Not applicable
Author

Checking CSV options worked. I tried this earlier but don't know why it didn't get to work, might be missed something.
Thanks @TRF 0683p000009MACn.png