We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Number or Text Field Converting to Date

sslattery17
8 - Asteroid

My worksheet is converting my unit numbers to dates.  I cant seem to prevent it.  Is there some syntex that would force my unit numbers to remain txt to prevent conversion to date or electrical/scientific.

 

Unit #         Tenant

1-1817Ashleigh Allen
1-1818Sununda Burrell
Jan-01Lashion Alexander
Jan-02Catrina Henderson
Jan-03Quadell Denson
Jan-04David Piper
Jan-05Pablo Haynes
Jan-06Lawrence Marshall
Jan-07Stephanie French
Jan-08Brenda Davis
Jan-11Nicole Ransom
Jan-12Jordan Williams
Jan-13Kentella Wilson
Jan-14Laketra Hill
Jan-15Quintracious Espree
Jan-16Tyrone Gallow
Jan-17Alysha Young
Jan-18Luis Hernandez Rodriguez
2-102Rony Reyes
2-103Lashondra Mathis
2-104Senetria Russell
8 REPLIES 8
binuacs
21 - Polaris

@sslattery17 Wjat are the actual values of these date fields 

Qiu
21 - Polaris
21 - Polaris

@sslattery17 
When you say your "Worksheet" you mean Excel sheet?
Can you try to define the Column to be Text then try to import to Alteryx?

sslattery17
8 - Asteroid

@binuacs Here are the actual unit numbers.  I am trying not to make any manual changes to the actual spreadsheets our clients send us.  Once I get these workflows built I will schedule them to run each month; if I have to make manual changes; then I wont be able to automate them without touching them first.

 

1-1901 Lashion Alexander
1-1902 Catrina Henderson
1-190 Quadell Denson
1-1904 David Piper
1-1905 Pablo Haynes
1-1906 Lawrence Marshall
1-1907 Stephanie French, Bryton Paul
1-1911 Nicole Ransom
1-1912 Jordan Williams
1-1913 Kentella Wilson

sslattery17
8 - Asteroid

@Qiu Yes I am pulling in spreadsheets; but prefer not to modify the spreadsheet from the client so I don't have to touch it every month once I buildout the workflow and schedule it to run.  They send monthly reports....

Qiu
21 - Polaris
21 - Polaris

@sslattery17 
thank you for the udpate. 
Is it possible that you can share share the Excel file containing the data above?

Qiu
21 - Polaris
21 - Polaris

@sslattery17 
The issue now is that Excel starts usually 1900 year while Alteryx Starts 1400.

Excel supports two date systems, the 1900 date system and the 1904 date system. Each date system uses a unique starting date from which all other workbook dates are calculated. All newer versions of Excel calculate dates based on the 1900 date system, while older versions used the 1904 system.

binuacs
21 - Polaris

@sslattery17 This is not an alteryx issue, the issue is with the excel where the data 1-1900 is converting a date Jan-01 by default, this has to be fixed in the excel, may be this should be fixed in the client side before exporting to excel or another option have the client to upload as csv instead of excel

CoG
14 - Magnetar

you can try and setup that field as a formula in excel, by using the Formula Tool in Alteryx with the following update to Unit #:
'="' + [Unit #] + '"'

Screenshot.png

Labels
Top Solution Authors