Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Stop automatic DateTime conversion upon input

$
0
0

Hi Guys,

 

Is there an option to stop/disable Alteryx from automatically converting date-related data into DateTime format upon reading/inputting a given file?

 

For example please see below table showing data I have in Excel and what Alteryx does upon reading this file:

 

Dates (in Excel dd/mm/yyyy format)My CommentsAlteryx automatically converts to DateTime upon reading file with below results
1/1/1959Correct date1959-01-01 00:00:00
12/12/1980Correct date1980-12-12 00:00:00
80/1/1965Invalid date [Null]
MISSINGMissing date so cell is filled in with text "MISSING" [Null]
12/9/1976Correct date1976-12-09 00:00:00
MISSINGMissing date so cell is filled in with text "MISSING" [Null]
30/78/1945Invalid date [Null]
12/9/1978Correct date1978-12-09 00:00:00
MISSINGMissing date so cell is filled in with text "MISSING" [Null]

 

So what happens as per above table is that Alteryx upon DateTime conversion converts both text values (i.e. MISSING's) and invalid dates into Nulls (empty). For my analysis I need to get the MISSING dates separate from invalid dates as different treatments will need to be applied to each group. Help!

 

I guess as a follow up question I should ask is there a way in Alteryx for date analysis purposes to identify from an Excel file (1) correct/genuine dates, (2) invalid dates (dd or mm out of range etc.) and (3) entries that were marked otherwise (i.e. purposely left blank as dates was missing or given a text entry to identify a missing date).

 

Thanks so much for your help!

 

Yusuf

 


Viewing all articles
Browse latest Browse all 4999

Trending Articles