Alteryx Designer Desktop Discussions

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

Is a date in a string column.

mtatum
6 - Meteoroid

I have a string column that should only have yyyy-dd-mm date formats in it, but at times it will have something like TBD.  I want to clear out anything in that column that isn't yyyy-mm-dd.  

 

Thank you

3 REPLIES 3
JosephSerpis
17 - Castor
17 - Castor

Hi @mtatum I mocked up a workflow that checks for both yyyy-dd-mm and yyyy-mm-dd and replaces anything that doesn't match that criteria. Let me know what you think?

 

Dates_26032020.JPG

patrick_digan
17 - Castor
17 - Castor

@mtatum If it's a valid date format, you can use a select tool and change the type to date.

mtatum
6 - Meteoroid

Thank you Joseph!  Worked like a charm.

Labels