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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
BeesKnees
Contributor
Contributor

Dates are duplicating

I have the following expression in qlik script. As soon as I run it, it duplicated records

date(floor(dtFromDate,'dd-MM-yyyy'),'yyyy-MM-dd')) as Date,

this is the date format ,2022-02-11 08:24:00.000000

 

Please help

1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

Your floor function is incorrect. It should be:

date(floor(dtFromDate),'yyyy-MM-dd')) as Date,

 

-Rob

View solution in original post

1 Reply
rwunderlich
MVP
MVP

Your floor function is incorrect. It should be:

date(floor(dtFromDate),'yyyy-MM-dd')) as Date,

 

-Rob