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.

Change string with different formats to numbers

BautistaC888
8 - Asteroid

Hello,
I need to change this strings with different formats to number type.

I attached an example.
Thank you.

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@BautistaC888 
I can see the different format meaning the dicimal point is either a period or a comma, so is the Thousand seperator.

So we can use a Regex to seperate them out then do some replace processing and joining them back.

0707-BautistaC888-A.PNG0707-BautistaC888-B.PNG

BautistaC888
8 - Asteroid

Thank you.
Could this work if i have multiple fields?

Qiu
21 - Polaris
21 - Polaris

@BautistaC888 
It will depend on how many columns.
if 2 or 3 then maybe it is better to apply this formula multiple times.

If more, then we can use the combination of Transpoe and Cross Tab then apply the formula.

Labels
Top Solution Authors