In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

removing commas from a data feild

Tim6
8 - Asteroid

Hi there, 

 

I have a column that contains numbers however these numbers have commas and decimal places. 

the decimal places are positioned correctly however, 

the commas are positioned incorrectly so i would like to remove them from each number. 

 

Can you please advise on how i can do this. 

 

 

thank you,

2 REPLIES 2
AngelosPachis
16 - Nebula

Hi @Tim6 ,

 

Is the decimals separator a comma as well?

 

If it's a dot, then to remove all commas you have to check your data field type:

 

If it's a string, then you can use a formula tool to replace the commas with nothing. You can use the following function

 

Replace([Yourfieldnamehere],",","")

 

If it's a number data type, then I am not sure if you can remove them (and I don't see the reason those commas might be positioned wrongly).

 

Please let me know which case you are trying to tackle and if the provided solution worked for you.

 

Cheers,


Angelos

TractorGirl
5 - Atom

I will use this a million times!  That you!

Labels
Top Solution Authors