<?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-Clause for another table to exclude data sets in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057418#M641701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be IntervalMatch is a good candidate here. But in your above sample, it would seem that all the rows from Table2 will be pulled in since we have ValueB &amp;gt; ValueA in all the three cases above. Do you have a more representative sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 11:23:58 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-01T11:23:58Z</dc:date>
    <item>
      <title>Where-Clause for another table to exclude data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057417#M641700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14568229800492416" jivemacro_uid="_14568229800492416" modifiedtitle="true"&gt;
&lt;P&gt;Table1:&lt;/P&gt;
&lt;P&gt;ID, ValueA&lt;/P&gt;
&lt;P&gt;1, 200&lt;/P&gt;
&lt;P&gt;3, 300&lt;/P&gt;
&lt;P&gt;4, 400&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Table2:&lt;/P&gt;
&lt;P&gt;ID, ValueB&lt;/P&gt;
&lt;P&gt;1, 999&lt;/P&gt;
&lt;P&gt;2, 888&lt;/P&gt;
&lt;P&gt;3, 777&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I load them, but exclude the records of Table2 where ValueB &amp;lt; ValueA in Table1? The ID is the same key for both tables. I tried JOIN, KEEP, RESIDENT and more, but nothing worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 09:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057417#M641700</guid>
      <dc:creator>GeorgeQV</dc:creator>
      <dc:date>2016-03-01T09:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where-Clause for another table to exclude data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057418#M641701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be IntervalMatch is a good candidate here. But in your above sample, it would seem that all the rows from Table2 will be pulled in since we have ValueB &amp;gt; ValueA in all the three cases above. Do you have a more representative sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057418#M641701</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-01T11:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where-Clause for another table to exclude data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057419#M641702</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;Are you looking like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load Id, ValueA from TableA;&lt;/P&gt;&lt;P&gt;Left Join (Temp) Load Id, ValueB from TableB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Where Flag = 1;&lt;/P&gt;&lt;P&gt;Load *, If(ValueA &amp;gt; ValueB, 1, 0) AS Flag resident Temp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 11:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057419#M641702</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-03-01T11:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Where-Clause for another table to exclude data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057420#M641703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD ID, ValueA FROM SourceA;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Noconcatenate LOAD * Resident Table1;&lt;/P&gt;&lt;P&gt;Left Join (Temp)&lt;/P&gt;&lt;P&gt;LOAD ID, ValueB FROM SourceB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD ID, ValueB Resident Temp WHERE ValueB &amp;lt; ValueB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 17:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057420#M641703</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-09T17:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Where-Clause for another table to exclude data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057421#M641704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Table1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ID, ValueA&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1, 200&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3, 300&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;4, 400&amp;nbsp; &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;left join (Table1) load * inline [&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ID, ValueB&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1, 999&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2, 888&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3, 777&amp;nbsp; &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;Table2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load ID, ValueB &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Table1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where not (ValueB &amp;lt; ValueA);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Field ValueB From Table1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 00:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057421#M641704</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-10T00:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Where-Clause for another table to exclude data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057422#M641705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a tipp:&lt;/P&gt;&lt;P&gt;If you are using variables, not the fields, later on ... the exclusion can also be done with -=&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 16:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057422#M641705</guid>
      <dc:creator />
      <dc:date>2016-03-10T16:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Where-Clause for another table to exclude data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057423#M641706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Mayil, that did the job!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 09:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1057423#M641706</guid>
      <dc:creator>GeorgeQV</dc:creator>
      <dc:date>2016-03-15T09:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Where-Clause for another table to exclude data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1798910#M1211497</link>
      <description>&lt;P&gt;This was helpful. I was able to apply it to something I wanted to accomplish.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 21:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-Clause-for-another-table-to-exclude-data-sets/m-p/1798910#M1211497</guid>
      <dc:creator>pam1990</dc:creator>
      <dc:date>2021-04-12T21:21:52Z</dc:date>
    </item>
  </channel>
</rss>

