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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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.

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

try with:

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

View solution in original post

2 Replies
tresB
Champion III
Champion III

try with:

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

Not applicable
Author

Thank you!