<?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: Where Statement not woking in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686334#M1064788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only the record 01/01/2014, 3 is loaded as expected. Year is greater than 2013 and the [cl::code] did not exist in the previous records loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good example!&lt;/P&gt;&lt;P&gt;Arnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 18:11:49 GMT</pubDate>
    <dc:creator>arniewolff</dc:creator>
    <dc:date>2014-09-24T18:11:49Z</dc:date>
    <item>
      <title>Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686326#M1064780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Can someone tell me why this "Where" statement isn't working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where year(DrpDate) &amp;gt;2013 and Not Exists (AccNo,[cl::code]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even though this one does work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where year(DrpDate) &amp;gt;2013 and Exists (AccNo,[cl::code]);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 16:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686326#M1064780</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T16:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686327#M1064781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try without ( before 'Not' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 16:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686327#M1064781</guid>
      <dc:creator>demoustier</dc:creator>
      <dc:date>2014-09-24T16:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686328#M1064782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies - the ( was my attempt at a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have edited the script in my original post, which is without the (..)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 16:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686328#M1064782</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T16:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686329#M1064783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you getting any result or nothing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check whether &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DrpDate is date and &lt;/SPAN&gt;you are getting year from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;year(DrpDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 16:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686329#M1064783</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-24T16:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686330#M1064784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a partial load of the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just loaded in year(DrpDate) as DrpYr and there are values for that field for the partially loaded records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 17:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686330#M1064784</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T17:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686331#M1064785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 17:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686331#M1064785</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-24T17:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686332#M1064786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it seems your script works; well this is is a small test and I didn't get any error&lt;/P&gt;&lt;P&gt;please post your script&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AccNo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;b:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DrpDate,cl::code&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;01/01/2012, 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;01/01/2012, 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;01/01/2014, 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;01/01/2014, 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;c:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident b&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;where year(DrpDate) &amp;gt;2013 and Not Exists (AccNo,[cl::code]);&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table a,b;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 17:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686332#M1064786</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T17:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686333#M1064787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to make sure I understand what you're trying to do:&lt;/P&gt;&lt;P&gt;This line:&lt;/P&gt;&lt;P&gt;where year(DrpDate) &amp;gt;2013 and Not Exists (AccNo,[cl::code]);&lt;/P&gt;&lt;P&gt;should load data for years greater than 2013 when [cl::code] is not in AccNo of the records loaded so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's how I understand the code. Is that the intent?&lt;/P&gt;&lt;P&gt;Arnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 18:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686333#M1064787</guid>
      <dc:creator>arniewolff</dc:creator>
      <dc:date>2014-09-24T18:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686334#M1064788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only the record 01/01/2014, 3 is loaded as expected. Year is greater than 2013 and the [cl::code] did not exist in the previous records loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good example!&lt;/P&gt;&lt;P&gt;Arnie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 18:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686334#M1064788</guid>
      <dc:creator>arniewolff</dc:creator>
      <dc:date>2014-09-24T18:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686335#M1064789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have slightly modified your code to reflect what it is I am actually doing, and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with my live data is that only some of the expected records are loading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the modified script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;AccNo&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;DrpDate,cl::code&lt;/P&gt;&lt;P&gt;01/01/2012, 1&lt;/P&gt;&lt;P&gt;01/01/2012, 3&lt;/P&gt;&lt;P&gt;01/01/2014, 1&lt;/P&gt;&lt;P&gt;01/01/2014, 3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;0 as Field1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident b&lt;/P&gt;&lt;P&gt;where year(DrpDate) &amp;gt;2013 and Exists (AccNo,[cl::code]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//NoConcatenate&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;1 as Field1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident b&lt;/P&gt;&lt;P&gt;where year(DrpDate) &amp;gt;2013 and Not Exists (AccNo,[cl::code]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table a,b;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 19:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686335#M1064789</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T19:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686336#M1064790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I run your script and get 2 records &lt;/P&gt;&lt;P&gt;I think the result it's ok&lt;/P&gt;&lt;P&gt;Do you agree?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67576_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 20:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686336#M1064790</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T20:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686337#M1064791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have removed the Year condition, and the problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first Where Exists statement works ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 20:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686337#M1064791</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T20:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686338#M1064792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, that's what I get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to see if there is a pattern to the items not loaded..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 20:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686338#M1064792</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T20:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686339#M1064793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see what is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is loading the first instance of every cl::code only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, once it loads the cl::code once, it then exists and so is ignored for second and subsequent instances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to overcome this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 20:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686339#M1064793</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T20:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686340#M1064794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first load (with exists) only load 1 record, 2014 1&lt;/P&gt;&lt;P&gt;2012 1, 2012 3 are filtered out because of year filter, 2014 3 is excluded because of missing AccNo &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second load (with not exists) only load 1 record, 2014 3&lt;/P&gt;&lt;P&gt;2012 1, 2012 3 are filtered out because of year filter, 2014 1 is excluded because you want not existent AccNo (and 1 exists)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 20:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686340#M1064794</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T20:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686341#M1064795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe I don't understand; tried with the same &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; cl::code and it was loaded for second, etc..... instances&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;do you use the same script or you have a different one?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67601_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;AccNo&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;DrpDate,cl::code&lt;/P&gt;&lt;P&gt;01/01/2012, 1&lt;/P&gt;&lt;P&gt;01/01/2012, 3&lt;/P&gt;&lt;P&gt;01/01/2014, 1&lt;/P&gt;&lt;P&gt;02/02/2014, 1&lt;/P&gt;&lt;P&gt;03/03/2014, 1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/01/2014, 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;02/02/2014, 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;03/03/2014, 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;0 as Field1&lt;/P&gt;&lt;P&gt;Resident b&lt;/P&gt;&lt;P&gt;where year(DrpDate) &amp;gt;2013 and Exists (AccNo,[cl::code]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//NoConcatenate&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;1 as Field1&lt;/P&gt;&lt;P&gt;Resident b&lt;/P&gt;&lt;P&gt;where year(DrpDate) &amp;gt;2013 and Not Exists (AccNo,[cl::code]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table a,b;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 20:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686341#M1064795</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T20:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686342#M1064796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is code ( I have replaced cl::code with CustCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// Load Interco Account Numbers, so as to allow initial flag of 'Interco' as CustType&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Interco:&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;AccNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; InterCompanyAcc);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;// Load Jobs for Interco Account Numbers, 'Interco' as CustType where exists AccNo (ie Interco AccNo)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Jobs1:&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CustCode&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;AccNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[cl::alpha]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;JobNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;BinTypID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DrpDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DrpDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DrpYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;LftDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;WasteTypeId&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[dk::value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[dk::Wvalue]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; 'Interco' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CustType&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; JoeAccountJobsCurrent)&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;where&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;AccNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CustCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Drop&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; Interco;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//Now load Non-Interco, flag 'A/C' as CustType, where not exists AccNo&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CustCode&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;AccNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[cl::alpha]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;JobNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;BinTypID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DrpDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DrpDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;DrpYr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;LftDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;WasteTypeId&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[dk::value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[dk::Wvalue]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; 'Account' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CustType&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; JoeAccountJobsCurrent)&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;where&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Not&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;AccNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CustCode&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 21:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686342#M1064796</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T21:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686343#M1064797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it seems there is a little but important difference between previous source code (test code) and the last one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- in test code AccNo was static, loaded in first resident load with values 1 and 2; it never changed after that load&lt;/P&gt;&lt;P&gt;- in last code AccNo changes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can change this and also exists not exists test to check ReferenceAccNo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;Interco:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;AccNo &lt;STRONG&gt;as ReferenceAccNo&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;C&gt;&lt;BR /&gt;(&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt; InterCompanyAcc);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 21:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686343#M1064797</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T21:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686344#M1064798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//----------------------------------------------&lt;/P&gt;&lt;P&gt;// result is 1 row&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;AccNo&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b:&lt;/P&gt;&lt;P&gt;NoConcatenate load * where not exists (AccNo);&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;AccNo&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//----------------------------------------------&lt;/P&gt;&lt;P&gt;// result is 2 row&lt;/P&gt;&lt;P&gt;c:&lt;/P&gt;&lt;P&gt;load AccNo as AccNoRef inline [&lt;/P&gt;&lt;P&gt;AccNo&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d:&lt;/P&gt;&lt;P&gt;load * where not exists (AccNoRef,AccNo2);&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;AccNo2&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table c;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 21:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686344#M1064798</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-24T21:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where Statement not woking</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686345#M1064799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked! One modification - I left the Drop Table Interco until AFTER the where not exists load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don;t quite understand what is going on ie how the AccNo in my original script is "static"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could explain, I would b grateful ( I have read your next post, but I'm afraid still don;t understand).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, many thanks for your help so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 21:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Statement-not-woking/m-p/686345#M1064799</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2014-09-24T21:44:18Z</dc:date>
    </item>
  </channel>
</rss>

