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.
SOLVED

How to change data types after loading Excel data

L_Gordon
8 - Asteroid

After reading Excel data, I want to change all fields to data type double

6 REPLIES 6
ShankerV
17 - Castor

hi @L_Gordon 

 

Please use the select tool.

 

 

ShankerV_0-1671559323760.png

 

Many thanks

Shanker V

 

 

L_Gordon
8 - Asteroid

I want the workflow to do the change, not manually.  Over time, the data input might have new fields.

ShankerV
17 - Castor

.

L_Gordon
8 - Asteroid

my workflow had the manual changes, but when I loaded data with a new column, Alteryx read it as text and a later step failed when the workflow expected numbers.

Felipe_Ribeir0
16 - Nebula

Hi @L_Gordon 

 

If you are sure that the input fields will be numeric fields, you can use the multi field formula configured like this to change them to double.

 

Felipe_Ribeir0_0-1671559590509.png

 

But if Alteryx is understanding your fields as text fields, you probably have text characters inside of these columns that you need to clean before going on.

 

L_Gordon
8 - Asteroid

Felipe,

 

I was going to do that, but in truth, 1 field should remain as text.  But, since I know what that field is, I can comfortably select that field and change it

Labels