<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Load Where Statement with Multiple Criteria, AND not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621272#M445807</link>
    <description>&lt;P&gt;The best way to sort this out to load all the data (or a limited load of some number of rows).&amp;nbsp; Put the Fields as Dimensions in a straight table and the where clause (everything but "where") as expression.&amp;nbsp; See what it returns and play with it until you get -1 for the rows you want and 0 for the&amp;nbsp; rows you don't.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2019 20:53:10 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2019-09-06T20:53:10Z</dc:date>
    <item>
      <title>Load Where Statement with Multiple Criteria, AND not working</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1620751#M445784</link>
      <description>&lt;P&gt;Trying to load records that have fieldname "CHNG_ORD_SEQ"=1 and fieldname "CHNG_ORD_BATCH"=0, and CHNG_ORD_SEQ=0 and CHNG_ORD_BATCH=1, and anything with either field &amp;gt;0&lt;/P&gt;&lt;P&gt;Only want to eliminate records with zero in both fields.&lt;/P&gt;&lt;P&gt;I have written the code below, but it eliminates any record with a 0 in either field.&amp;nbsp; Any ideas on why the AND is being ignored?&lt;/P&gt;&lt;P&gt;where (OPRID_MODIFIED_BY &amp;lt;&amp;gt; 'POCHNG')&lt;/P&gt;&lt;P&gt;and ("CHNG_ORD_SEQ"&amp;lt;&amp;gt;'0') and ("CHNG_ORD_BATCH"&amp;lt;&amp;gt;'0');&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 21:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1620751#M445784</guid>
      <dc:creator>tkw8000</dc:creator>
      <dc:date>2019-09-05T21:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Load Where Statement with Multiple Criteria, AND not working</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1620756#M445787</link>
      <description>&lt;P&gt;Try to handle the zero as numeric, no ' ' around the 0.&lt;/P&gt;&lt;P&gt;where (OPRID_MODIFIED_BY &amp;lt;&amp;gt; 'POCHNG') and ("CHNG_ORD_SEQ"&amp;lt;&amp;gt;0) and ("CHNG_ORD_BATCH"&amp;lt;&amp;gt;0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 21:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1620756#M445787</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-05T21:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Load Where Statement with Multiple Criteria, AND not working</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1620763#M445788</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;where (OPRID_MODIFIED_BY &amp;lt;&amp;gt; 'POCHNG')&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;and &lt;STRONG&gt;(&amp;nbsp;&lt;/STRONG&gt; ("CHNG_ORD_SEQ"&amp;lt;&amp;gt;'0') &lt;STRONG&gt;or&lt;/STRONG&gt; ("CHNG_ORD_BATCH"&amp;lt;&amp;gt;'0') &lt;STRONG&gt;)&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I believe that should be an "or". Also note the extra parens required.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 22:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1620763#M445788</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-09-05T22:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load Where Statement with Multiple Criteria, AND not working</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621211#M445802</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 16:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621211#M445802</guid>
      <dc:creator>tkw8000</dc:creator>
      <dc:date>2019-09-06T16:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load Where Statement with Multiple Criteria, AND not working</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621226#M445803</link>
      <description>&lt;P&gt;Thank you but this did not work.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 17:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621226#M445803</guid>
      <dc:creator>tkw8000</dc:creator>
      <dc:date>2019-09-06T17:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load Where Statement with Multiple Criteria, AND not working</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621227#M445804</link>
      <description>&lt;P&gt;Sorry but this did not work.&amp;nbsp; Do you think I should use an IF statement instead?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 17:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621227#M445804</guid>
      <dc:creator>tkw8000</dc:creator>
      <dc:date>2019-09-06T17:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Load Where Statement with Multiple Criteria, AND not working</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621235#M445806</link>
      <description>&lt;P&gt;It feels like there is something with your scenario that is not taken into consideration. Har to pinpoint without the actual application at hands.&lt;/P&gt;&lt;P&gt;You could give this a try&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;where &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;(OPRID_MODIFIED_BY &amp;lt;&amp;gt; 'POCHNG')&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;RangeSum(&lt;/SPAN&gt;"CHNG_ORD_SEQ", "CHNG_ORD_BATCH")&amp;gt;0;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 18:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621235#M445806</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-06T18:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load Where Statement with Multiple Criteria, AND not working</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621272#M445807</link>
      <description>&lt;P&gt;The best way to sort this out to load all the data (or a limited load of some number of rows).&amp;nbsp; Put the Fields as Dimensions in a straight table and the where clause (everything but "where") as expression.&amp;nbsp; See what it returns and play with it until you get -1 for the rows you want and 0 for the&amp;nbsp; rows you don't.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 20:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Where-Statement-with-Multiple-Criteria-AND-not-working/m-p/1621272#M445807</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-09-06T20:53:10Z</dc:date>
    </item>
  </channel>
</rss>

