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

Alteryx Designer Desktop Discussions

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

Convert text to number

whubbard88
5 - Atom

I have an output file that is returning a few columns, one with numbers in them. The problem I am encountering is that the column with numbers is coming out as text. Is there an option to have the output file have the column with numbers return numbers instead of text format? 

 

whubbard88_0-1659219327919.png

 

6 REPLIES 6
binuacs
21 - Polaris

@whubbard88 The value of the cell D2 is string type(2022-05 YTD (RC), I think that's why you are getting the string data type for this field

Jay-RDC
8 - Asteroid

You can simply use a select tool and change the data type

whubbard88
5 - Atom

Hi and thank you for responding! This is what I have right now selected, is there a different type that I should have? 

 

whubbard88_0-1659277292085.png

 

Jay-RDC
8 - Asteroid

Yes. Try to change it to int or fixed decimal. You can also parse 2022-05 YTD using text to column to separate the string and use auto field tool or select tool to change the data type.

whubbard88
5 - Atom

Thank you! I don't think I did exactly what you did, but I changed the type to Double instead of V_string and it seemed to have fixed the problem. 

 

What a great help you were !! 

whubbard88_0-1659279790720.png

 

Jay-RDC
8 - Asteroid

Awesome!

Labels
Top Solution Authors