Discussion Board for collaboration related to Creating Analytics for QlikView.
Hi - simple query here for you experts!
I want the exclude data through the load script. I can do it for one value:
WHERE NOT MARKET = 'INTERCOMPANY' ;
this works fine, but if want to exclude multiple then i am trying to use the following:
WHERE NOT MARKET = 'INTERCOMPANY' OR 'EXPORT';
But this doesnt work - do you know what the right syntax is?
Go to Solution.
Just 'EXPORT' will not return a Boolean or equivalent representation, I believe.
where not (MARKET = 'INTERCOMPANY' or MARKET = 'EXPORT');
maybe your could use IN (depending on your database used, like
where not MARKET in ('INTERCOMPANY','EXPORT);
You have to use some thing like
WHERE NOT MARKET = Match(MARKET, 'INTERCOMPANY' , 'EXPORT' );
you can try this.
WHERE (MARKET <>'INTERCOMPANY') AND (MARKET <>'EXPORT')
Thanks - they were all helpfull responses but swuehi is the winner