Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Text to number

BautistaC888
8 - Asteroid

Hello,
I have a table with numbers in text format and i need to transform then into double number format.

BautistaC888_0-1622554572993.png

I tried using the select tool with formulas but that truncated the information.
I share you an example workflow.
Thank you.

2 REPLIES 2
apathetichell
18 - Pollux

I wasn't sure if the first entry was supposed to be negative so I showed you two ways - first way doesn't account for trailing ("-") - second way counts those as negatives.

 

The commas are just an option under user settings/localization...

mmish
6 - Meteoroid

You could use a couple formulas:

  1. Remove the commas
  2. Change the negative placement (if needed)
  3. Convert to double

mmish_0-1622556324795.png

 

Labels