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.

Question on converting to numeric data types

ringocheng618
6 - Meteoroid

Hello,

 

I have input the data from an excel sheet. By default, every value is in string data type. As I was trying to convert to int32 by using the select tool, Alteryx is not recognizing the comma for the value (For instance, 100,000 would output to 100). To solve that, I would have to use RegEx to remove comma in order to convert the string to int32. Would there by any better solution for that as that only convert one column? 

 

Thanks!

3 REPLIES 3
mot
11 - Bolide

Hi @ringocheng618,

 

You can use Data Cleansing tool and check Remove Punctuation. I hope this helps. Best.

Qiu
20 - Arcturus
20 - Arcturus

@mot 

Maybe you can change the user settings.

Qiu_0-1614564127820.png

 

MarqueeCrew
20 - Arcturus
20 - Arcturus

@ringocheng618 

 

please use a multi field formula.  You may only be selecting one field, but you can change the data type to a numeric type. 

replacechar( ) is the function that you'll want. "," gets replaced with "". 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels