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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Billy_u
Creator
Creator

date format

I have excel sheets where the data field arrives in two different formats, I would like both to format them in a single format, I'm trying this:
   Date (Date # (field, 'gg-mmm-yy' OR 'DD / MM / YYYY'), 'DD / MM / YYYY') as Data,


but it doesn't work for a format type: 12-Jan-19,

 

 

have you suggestions?

thx,

Billy

Labels (2)
1 Solution

Accepted Solutions
Frank_Hartmann
Master II
Master II

try like this:

 

Date(Alt( Date#(field,'DD/MM/YYYY'), Date#(field,'DD-MM-YY') ),'DD/MM/YYYY') as MixDate

 

View solution in original post

1 Reply
Frank_Hartmann
Master II
Master II

try like this:

 

Date(Alt( Date#(field,'DD/MM/YYYY'), Date#(field,'DD-MM-YY') ),'DD/MM/YYYY') as MixDate