Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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
18 - Pollux
18 - Pollux

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
18 - Pollux
18 - Pollux

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
Top Solution Authors