Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression issue

Hi, I have a problem with filter my dates from database.

This is a format of date from db : "YYYYMMDDhhmmCEST" and I want to download values between for ex. 01.01.2014 AND ...

and here is my problem - i want to pass today date - 20 minutes, I tried to use :

TIME_KEY BETWEEN '20140101' AND 'DateAdd(mi, -20, getDate())'

but it looks like the DateAdd part is just ignored

Any other function to work this out ?

1 Solution

Accepted Solutions
Not applicable
Author

Hi. Kindly put dateAdd() to a variable and pass that variable to the query. Regards, Jitendra

View solution in original post

1 Reply
Not applicable
Author

Hi. Kindly put dateAdd() to a variable and pass that variable to the query. Regards, Jitendra