Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Format the numbers before writing

Kallis
8 - Asteroid

Hello Everyone

 

I need to format the numbers before they are written into an Excel.

 

InputExpected Output
  
100.10100.10
1000.101,000.10
10000.1010,000.10
100000.101,00,000.10
1000000.1010,00,000.10

 

so on and so forth.

I went through a series of solutions within the community but it did not satisfy my requirement.

 

Kindly let me know.

4 REPLIES 4
alexnajm
17 - Castor
17 - Castor

What solutions have you tried? The TOSTRING function would work like a charm

binuacs
21 - Polaris

@Kallis as @alexnajm mentioned use the toSTring() function, attaching the alteryx formula 

image.png

Kallis
8 - Asteroid

Thanks @binuacs but I still want the datatype to remain numerical. This is what I am unable to. I tried ToNumber and also Select to convert the datatype to any integer but the formatting (. and ,) is removed

alexnajm
17 - Castor
17 - Castor

That’s correct - you cannot do this for numeric data in Alteryx since numbers don’t have formatting. You can change the formatting in your output. 

Labels