ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

How to add a Thousands Separator with ToString or other way?

StellaBon
11 - Bolide

Hello!

 

I am in the Adapt program and I pulled in my own data for the first time to play around with it. It has been going well and I am feeling good in general in my understanding of the core tools. Hooray!

 

BUT:

I ran into a problem trying to add a thousands separator to a field. I do not want decimals. This is how I configured it in Formula Tool: 

 

ToString([Steps per Month],0,1)

 

However I am not getting the thousands separator. I tried changing the data type and nothing seems to do it.

 

What am I doing wrong? Is there an alternative way to do this without turning my datatype to a string? Why would one have to convert a numeric datatype to a string in order to add a thousands separator, it seems odd. It's a little thing but it feels like something I should be able to do and do quickly. 

 

Thanks so much!

StellaBon

12 REPLIES 12
Daleowski
6 - Meteoroid

I am having this same issue. The three 000 in the results window/pane do not keep the comma separators in the output file. The numbers still show without commas. 

Daleowski
6 - Meteoroid

This is the BEST solution to this question. I was able to use it in my Workflow to add comma separators to my selected numeric fields. 

Raj
16 - Nebula

.

Labels
Top Solution Authors