Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Removing double quotes "" from a CSV file using ALTERYX

AmitojSingh
7 - Meteor

Hi Everyone 

 

I have a csv file which looks similar to the following format

 

employeeID, businessDate, categoryName, employeeType

24414,2021-07-01,"",Permanent

67674,2021-03-15,"",Temporary

 

I was to remove the "" from this file using ALTERYX, and set the output to following

 

employeeID, businessDate, categoryName, employeeType

24414,2021-07-01,,Permanent

67674,2021-03-15,,Temporary

 

can you please help

7 REPLIES 7
Shifty
12 - Quasar

Hey @AmitojSingh 

 

You can use the Data Cleasing tool

Shifty_1-1620395038528.png

 

Select the field with the "" (categoryName) and check "Punctuation" in the configuration window:

 

Shifty_0-1620395021348.png

 

Hope this helps!

 

TheOC
15 - Aurora
15 - Aurora

hi @AmitojSingh !

The key to this one is the regex tool:

TheOC_0-1620395145313.png


We can specify the text we want to replace in the "Format to Convert" Field, and then leave the Replacement text blank, to remove them.

I have attached a workflow that does this to the data you have provided!

Hope this helps,
TheOC


Bulien
BosKev
8 - Asteroid

can use formula replace as well

 

BosKev_0-1620395380975.png

 

vizAlter
12 - Quasar

Hi @AmitojSingh — Try this solution:

 

(,"")

vizAlter_0-1620456361567.png

 

$$,

 

Please mark this solved if it helps.

 

(FYI — You can use \0 as a delimiter in the Input tool to ignore the delimiter and bring your data in one single column, then add a RegEx tool to perform the step above.)

AmitojSingh
7 - Meteor

Hi Everyone, I ended up using Null() in the formula tool and that got ride of the ""  for me.

atcodedog05
22 - Nova
22 - Nova

Using Null() was a neat trick @AmitojSingh 😁

AdamR_AYX
Alteryx Alumni (Retired)

One more option with this one is to write out the csv file with the "Quote Output Fields" option set to "Never"

 

AdamR_0-1621863230262.png

 

Example attached

Adam Riley
https://www.linkedin.com/in/adriley/
Labels