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

Problem to load Date from Excel!

Hi,

The date on excel is a numeric value.

40452 is 2010-10-01 (YYYY-MM-DD)

While loading the 40452 from the Excel file, how can I load it as a date type value?

Best Regards,

Cassiano

12 Replies
Not applicable
Author

Hello

Same problem, Try this:

DATE(LEFT(FLOOR(NUM(purgechar(tempData,'[.]'))),5)) as date,

Luck!

Not applicable
Author

Use this sentence on a sript:

Date(Num(Evaluate(tempData) )) as newDate