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

Any Way to Hard-Code Selections?

Can you somehow hard-code selections?  For example, If I want to only see items related to orders that took place after 2010, is there any way to hard code this so that Qlik doesn't load anything before 2010?

1 Solution

Accepted Solutions
JonnyPoole
Former Employee
Former Employee

If its a universal filter than apply a WHERE filter in the data load in your script.

Go to file -> edit script and scroll or hit the tab where you are loading date related information

ex:

Load

     Date,

     otherfield1,

     otherfield2,

     etc..

from ....

Where Year(Date) >=2010;

View solution in original post

1 Reply
JonnyPoole
Former Employee
Former Employee

If its a universal filter than apply a WHERE filter in the data load in your script.

Go to file -> edit script and scroll or hit the tab where you are loading date related information

ex:

Load

     Date,

     otherfield1,

     otherfield2,

     etc..

from ....

Where Year(Date) >=2010;