Alteryx Designer Desktop Discussions

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

How to copy a number as it is from Excel to Template.

Gaurav0001
8 - Asteroid

Hello,
I need to copy number as it is from excel to template.
For Example,
I need to copy number "03032024" to template.
and its coming 3032024 as output.

As the number indicates the Date, If "0" get  removes from the beginning, it will change the whole date and make us fall in confusion.
I dont want date as 03-03-2024 format or 03/03/2024, 
It will be great if I get in String Datatype. "03032024"

Thank You.

2 REPLIES 2
mgaronson
11 - Bolide

The Date field in Excel is likely formatted as a Text field (not sure how else it would work without some funky formulas). If the field is formatted in Excel as a Text field, it should come into to Alteryx as a String. Even if one value is formatted as a number (A4), it will come is as String.

Text type

How to Copy a Number from Excel 1.png

 Text and Number

 How to Copy a Number from Excel 2.png

Alteryx

How to Copy a Number from Excel 3.png

  If the whole column looks like a number (ex: Date 2 - 12012024, 12022024, 12032024) and is General or Number type field in Excel, Alteryx will type as a double.

How to Copy a Number from Excel 4.png

Alteryx

How to Copy a Number from Excel 5.png

Gaurav0001
8 - Asteroid

Thank You @MG ,
This Helps, I have understood what needs to be done. :)

Labels