We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

using double quote as delimiters in csv file

binnursev
7 - Meteor

Hi community, 

 

I have a text file that every value is separated by double quotes, as an example the data set is like "A" "B" "C". Is there a way to use the input tool and define a delimiter or should I do it another way? 

 

Thanks a lot!

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @binnursev 

 

Can you provide a sample file?

DawnDuong
13 - Pulsar
13 - Pulsar

hi @binnursev 

is your data is such that every data value is enclosed in double quotes and then each of them separated by space/tab, I suggest that you:

- first, use the Text to Column Tool (https://help.alteryx.com/20213/designer/text-columns-tool) to separate the data fields using the \s as delimiter;

- secondly use either StripQuotes or Trim function (https://help.alteryx.com/20213/designer/string-functions) to remove the double quotes from the data.

Dawn.

DavidP
17 - Castor
17 - Castor

Hi @binnursev 

 

It is common for csv files to have double quotes around field values.

 

The input data tool will remove the quotes if you pick a space as the delimiter. 

 

Example attached.

binnursev
7 - Meteor

Hi David, 

 

Thank you for your response. I tried it but I get an error that "A field was missing a closing quote" while all are fine. Also the whole dataset is coming as one field name and one data field when I do the configuration as you sent. I can't use the text to columns because some part of the data is lost if I don't use a proper Input configuration.

 

Do you think there is another way?

 

Thank you again! 

Best

DavidP
17 - Castor
17 - Castor

Hi @binnursev 

 

Could you attach a small sample data file?

jportello
8 - Asteroid

Hi Everyone, I am running into the same issue where Alteryx is not reading the CSV file. I am unable to provide a sample file data but does anyone have any suggeestion?

Labels
Top Solution Authors