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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
n1ef5ng1
Creator
Creator

Intraday - 1 hour

Hi i have a report where it will execute loading of data @ 1015am. i would want the script to load everything except the current hour of the loading time as it is not a complete set of data.

FROM

[$(vLoad)Data\Intraday\Data.qvd]

(qvd)

WHEREDate=(FileTime() - MakeTime(1));

Something along this line but it doesnt work

2 Replies
girirajsinh
Creator III
Creator III

WHEREDate <= Timestamp(LocalTime()-MakeTime(1) )

or

WHEREDate <= Timestamp(Now()-MakeTime(1) )

rahulpawarb
Specialist III
Specialist III

Hello Ben,

If the Data.qvd file contains the Date and Time components then use below predicate logic in filter condition:

WHERE Date <= Today() & ' ' & MakeTime(Hour(Now())-1,Minute(Now()), Second(Now()))

Hope this will help.

P.S.: This is verify basic logic you can make use Date and Time functions to fine tune it.

Regards!

Rahul