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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
nagasekhar
Contributor III
Contributor III

different date functions

LOAD * Inline [

date,sales
23-10-2018,100
20/11/2018,200
15-12-2018,300
18 jul 2018,400

];

how to convert this into single date format

 

2 Solutions

Accepted Solutions
arulsettu
Master III
Master III

Maybe like this

 

load Date(Alt(Date#(date,'DD-MM-YYYY'),Date#(date,'DD/MM/YYYY'),Date#(date,'DD MMM YYYY')),'DD-MM-YYYY') as Date;

View solution in original post

marcus_sommer

Try it with:

alt(date(date#(YourDate, 'Format1')), date(date#(YourDate, 'Format2')), ....)

- Marcus

View solution in original post

2 Replies
arulsettu
Master III
Master III

Maybe like this

 

load Date(Alt(Date#(date,'DD-MM-YYYY'),Date#(date,'DD/MM/YYYY'),Date#(date,'DD MMM YYYY')),'DD-MM-YYYY') as Date;

marcus_sommer

Try it with:

alt(date(date#(YourDate, 'Format1')), date(date#(YourDate, 'Format2')), ....)

- Marcus