xxvazquez / Alteryx_Challenges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alteryx Challenges Solutions

In this repo you will find solutions to Alteryx Weekly Challenges posted on the Alteryx Community.

Challenge #2: Preparing Delimited Data

Description

Many products will export textual data with delimiters such as quotes. This is done so that strings can contain delimiters or control characters within them. Having more than one type of delimiter can be hard for ETL programs to interpret. In the input text file, there are two different delimiters (double quotes, single quotes) and they surround different data types. Use Alteryx to strip out the delimiters as superfluous and format the data as represented in the output.

Solution

I provide three alternative solutions: using Python tool, using RegEx tool and using the Formula tool with a nested 'Replace'.