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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with dates

Hello,

I am trying to load data to a table based on my last reload time. But my WHERE statement is not working, so I think the date format comparison isnt working because the script loads all dates. Here is my script:

LET lastReloadTime = date(ReloadTime());

Table:

Load

id,

id_user,

type,

date(date) as date

WHERE (date(date) > $(lastReloadTime));

SQL SELECT * FROM ....

Thank you,

Juan.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

try with:

WHERE date(date) >'$(lastReloadTime)';

View solution in original post

2 Replies
tresesco
MVP
MVP

try with:

WHERE date(date) >'$(lastReloadTime)';

Not applicable
Author

Thank you!