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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewaf
Creator
Creator

Load Script with where condition -> No record loaded

Hi,

i created a QVD file (2 GB size) and i created the load script as follow; when i add at the end the "Where (SDDRQJ>=117000)" the script doesn't load the data.

script.PNG

After several mins on F42119 i got still 0 record. Seems like a performance issue. If i leave the where condition, then in few mins i got several millions of rows loaded.

I'm doing something wrong?

Thank you

LOAD.PNG

20 Replies
qlikviewaf
Creator
Creator
Author

Here we areSDDQRJ.PNG

Anil_Babu_Samineni

But, In you where condition it showing as Request_Date. But, In initial seems you used as SDDRQJ. Which one we are talking about?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable

Aren't you loading SDDRQJ as Request_Date?? where have you converted it into Date Format??

qlikviewaf
Creator
Creator
Author

i'm using SDDRQJ now renamed as Request_Date

i did not converted into a date format, i'm filtering direclty using the julian format (SDDRQJ>117000)

stabben23
Partner - Master
Partner - Master

Hi,

Request_Date can not be used in the where condition!

I can see that you are using first 10000 in script, dont!

You also show a dialog that inclunde OrderDate and SDDRQJ as Fields, these Field are not in Your script?

Try Where SDDRQJ >= '117000' ; if that works

swuehl
MVP
MVP

According your sample records, a SDDRQJ value of 117000  would be some years in the future (around 2035).

Are you sure that your data source shows dates in that range?

stabben23
Partner - Master
Partner - Master

But Still Stefan, should´t the where statment Works anyway?

Something is strange in the script, look here:

No date format on SDDRQJ

sddrqj.PNG

But In dialog

req_date.PNG

And Field SDDRQJ shows numeric in dialog if that is correct Field

aa.PNG

swuehl
MVP
MVP

I believe the screenshot is based on a table load using a different script than posted above, so no comment on your observation.

My point is different: Are there any values >= 117000 in field SDDRQ at all? Still waiting for a confirmation.

stabben23
Partner - Master
Partner - Master

I'll think, if this is M3 data you work With, that SDDRQJ is Requested quantity or something simular.

qlikviewaf
Creator
Creator
Author

Hi Stefan,

i confirm both.

The screenshot is based on different script.

Now i'm just loading SDDRQJ and filtering using >= SDDRQJ.same issue.PNG