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: 
purna
Contributor III
Contributor III

Date(sales)

Hello qlikers,

can any one please explain what happen in the front end for D_d.

LOAD
"Date",
Sales,
Category,
Country,
Region,
Date(Sales) as D_d
FROM [lib://DataFiles/]

Please find the attachment, why it is giving 1900 year, is it comparing the year with present year, if it so i don't have the data for 1900 year.

regards....

3 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @purna,

With this syntax, Qlik is not able to identify the format for the date so by default it is showing 1900 

Date(Sales) is not proper syntax. please change the same with Date(Sale,'DD-MMM-YYYY') this will give you the proper result.

I am assuming that sale is a date field in the data. 

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
purna
Contributor III
Contributor III
Author

Thanks for the reply abhijit...

But throwing the same with different dilimiter..

abhijitnalekar
Specialist II
Specialist II

H @purna,

Please modify the same with below expression

date(Date#(sales,'MM/DD/YYYY'),'DD-MMM-YYYY') as D_d

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!