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: 
Anonymous
Not applicable

DATE#

Hi,

I am loading multiples xls files, with *.xls, and i have multiples formats of date. But, i can not use

     date#(RENEWAL_DATE,'M/D/YYYY''YYYYMMDD'). I tried with , and ; between, but it says that date# takes only 2 parameters. How can i make to use date# for multiples formats?

Thank you,

Cosmina

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

You could use alt() to check of various different formattings like:

alt(date#(RENEWAL_DATE,'M/D/YYYY'), date#(RENEWAL_DATE,'YYYYMMDD'))

- Marcus

View solution in original post

2 Replies
MK_QSL
MVP
MVP

marcus_sommer
MVP
MVP

You could use alt() to check of various different formattings like:

alt(date#(RENEWAL_DATE,'M/D/YYYY'), date#(RENEWAL_DATE,'YYYYMMDD'))

- Marcus