Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How could replace where condition in the following script in order to optimize loading script ?
The WHERE clause isn't the problem, it's the functions that you're using that will cause the load to be unoptimised.
Replacing the where clause alone would not make this load an optimized one. Because you are applying some functions on the loaded field and modifying the values, and this modifications are causing it to make an unoptimzed one. Read this blog by stevedark : http://www.quickintelligence.co.uk/qlikview-optimised-qvd-loads/ for more in details.
what you mean about functions ?
You could first load the entire QVD in memory, and then process/filter whatever you need. Loading from disk in an unoptimized way is often much slower than loading straightaway, and processing in RAM.
DATE(), DATE#() and APPLYMAP() are all functions.