Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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

1 Solution

Accepted Solutions
marcus_sommer

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

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

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

- Marcus