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

Date column has different formats

Sammy22
8 - Asteroid

Hi,

 

I have a column which has dates in the format dd/mm/yyy however there are some dates (less than10th of each month) which are d/mm/yyyy. When i use the string to date format the latter dates become null. How can i resolve this?

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @Sammy22,

 

I would propose adding 0 if the length of the column is equal to 9 - instead of expected 10.

 

Emil_Kos_0-1624880657545.png

 

Sammy22
8 - Asteroid

Just noticed another problem, the month can also only have one number in it, so for example 12th of March 2020 would be 12/3/2020. How do i manage this alongside the day issue?

Emil_Kos
17 - Castor
17 - Castor

Hi @Sammy22,

 

I basicly added text to columns to split the data into day month and year column. I have added 0 if needed and I have added the data together.

 

Emil_Kos_0-1624881972049.png

 

Labels
Top Solution Authors