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

No of days between two dates

Hi,

Is it possible to add a where clause in the data load editor to do the following:

Columns: ReadyDate (datetime format)

Where Ready >= Today() - 150

Thanks for any assistance.

1 Solution

Accepted Solutions
YoussefBelloum
Champion
Champion

is Francesco solution's don't work, you can try this:

Where Timestamp#(ReadyDate,'YYYY-MM:DD hh:mm:ss:fff') > Today() -150;

View solution in original post

6 Replies
francescoreggia
Partner - Contributor III
Partner - Contributor III

Yes, it's possible.

Try:

Load ReadyDate

From ...

Where Num(ReadyDate) > Today() -150;

YoussefBelloum
Champion
Champion

Hi,

what is the exact format of ReadyDate field ?

Anonymous
Not applicable
Author

The format is like:

2018-01-01 21:01:00:000

YoussefBelloum
Champion
Champion

is Francesco solution's don't work, you can try this:

Where Timestamp#(ReadyDate,'YYYY-MM:DD hh:mm:ss:fff') > Today() -150;

Anonymous
Not applicable
Author

Thanks, this seems to be working

YoussefBelloum
Champion
Champion

you're welcome