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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

filter results in load statement

Hi, I'm new to Qlik, I am trying to filter out order type to only those coded as "O"

Seems logical to me that I could simply place in the load

"ord_type"='O'

But this does not seem to work, my results are pulling in O and Q type orders

I also tried "ord_type" like 'O'

Still no go

Labels (1)
11 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

I would put the Where clause in he SQL statement, otherwise you are fetching the O's and Q's from the database over the network and into your QV server, and then discarding them.

SQL SELECT *

FROM "100".dbo."oeordhdr_sql"

Where ord_type = 'O';

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Perfect, that's what I was originally trying to do, but didn't know where to put the statement. Makes perfect sense.