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.
SOLVED

Parsing unstructured data

carterfleming
8 - Asteroid

I'm trying to extract data from a long string of numbers and spaces. One of the columns I'm trying to extract/create is a dollar amount (or at least I need it to be). In the example output below, I want the the first number shown to convert to $1,000.00, the second should be $30.75, the next $342.96 and the last one $265.00. Any idea on how to convert this data? ($ signs and commas not required, just an accounting/financial format i.e. 1000.00)

Capture.PNG

2 REPLIES 2
BS_THE_ANALYST
14 - Magnetar

@carterfleming Regex can help here :-).
Before:

BS_THE_ANALYST_0-1676302929592.png

 

After:

BS_THE_ANALYST_0-1676303822298.png

 

 

 

Luke_C
17 - Castor

Hi @carterfleming 

 

Assuming the column only contains blanks or numbers, you could do something like this:

Select Tool to change the type

Divide by 100 to capture the cents

 

Luke_C_0-1676302963200.png

 

 

Labels