Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
New-here1
Contributor III
Contributor III

Change non uniform dates to uniform

Hi All, 

I have a dataset that has 3 different date formats, for example:

- 19th & 20th January

- 19/01/2024

- Dec-2023

Is there a way to make these dates all uniform? I would like them to be DD/MM/YYYY

Thank you

Labels (1)
1 Solution

Accepted Solutions
Rohan
Partner - Specialist
Partner - Specialist

Hi,

Try this :

Date(Alt(Date#(Field,'DD/MM/YYYY'),Date#(Field,'MMM-YYYY'),Field),'DD/MM/YYYY') as Date

Regards,

Rohan.

View solution in original post

2 Replies
Rohan
Partner - Specialist
Partner - Specialist

Hi,

Try this :

Date(Alt(Date#(Field,'DD/MM/YYYY'),Date#(Field,'MMM-YYYY'),Field),'DD/MM/YYYY') as Date

Regards,

Rohan.

New-here1
Contributor III
Contributor III
Author

That worked, thank you @Rohan