I've got a date field in Alteryx. I've converted it from the default to "MM/dd/yyyy" for output into Excel. In the SELECT tool, I have to choose "String" as the data type when I do this. (I've tried using the default date format and Date data type, and it makes no difference to the issue that follows). I use a Basic Table & Render to create the output file.
The problem I'm having is that Excel sees the date column as text, and the only way that I've been able to get it to recognize the date as a Date is to go into the field and backspace BEFORE the "7" (for July). Or, go in and manually retype the date in each row. Neither option is acceptable. Doing a global change on the column to type "Short Date" does NOTHING. CHAR(52) is 4, CHAR(55) is 7.
| Non-Alteryx Date | FALSE | | 52 | | 43315 | |
| | ISTEXT | CLEAN | CODE | REPLACE | TRIM | SUBSTITUTE |
| Alteryx Manually Retyped | FALSE | 43300 | 52 | | 43300 | |
| Alteryx Date | TRUE | | 55 | | | 7/19/2018 |
This is an issue because a later column compares the Log Date (or date the change was made in our system) against the Date Due. If the Log Date is before the Date Due, then the work was done timely. It's a metrics thing for the bean counters. At this point, EVERY date coming out of Alteryx is considered not timely, because Excel doesn't see it as a Date.
Has anybody run into this before or can anybody think of some automated way that I can get Excel to recognize the output as a Date instead of text?
If I can solve this, then I could probably also solve a similar issue... I can have Alteryx "write" the formula that would go into an Excel field, but when it gets to Excel it's read as text and not a formula. Same thing... if I go in and backspace before the 1st character, then Excel reads it as a formula.