<?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: EXISTS() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861615#M301572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;This is finally solved!&lt;/P&gt;&lt;P&gt;I have tried out another table - someone else told me I should be filtering in another table (I have that kind of filter already, but in the same table, apparently it is different) - I noticed that two values that I had actually filtered out were included if I did a JOIN with that table (with a perfect key in that new table, so that was ok).&lt;/P&gt;&lt;P&gt;=&amp;gt; Now I filtered in that new table as well and now&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; THE NR. OF RECORDS IS EXACTLY THE SAME!&lt;/P&gt;&lt;P&gt;I will close this thread now as I think the issue with EXISTS() is now kind of clarified, too.&lt;/P&gt;&lt;P&gt;With EXISTS(), there can be no issues with duplicates, only with NOT(EXISTS()), following the logic with the &amp;gt;previously loaded records&amp;lt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot once more!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 08:52:02 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-07-02T08:52:02Z</dc:date>
    <item>
      <title>EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861588#M301545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been here some times before with similar issues and I remember that this function is in all cases not as easy as the integrated help_file suggests. I remember for sure that it cannot be written with just one parameter as the help suggests. I think it only works if one or b oth of the key_fields in the tables are unique.&lt;/P&gt;&lt;P&gt;=&amp;gt; Well, that &amp;gt;or&amp;lt; is my issue. The scenario is this:&lt;/P&gt;&lt;P&gt;- In table_A (which I load earlier) that key_field (which I want to base the EXISTS() clause on) is unique.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; In table_B (which I load afterwards) I have a finer grain and that same key is not unique anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; Will that work if I have, in the LOAD for table_B, a clause &amp;gt;&amp;gt; WHERE EXISTS([keyfield_from_table_A], [keyfield_from_table_B]) &amp;lt;&amp;lt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 12:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861588#M301545</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T12:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861589#M301546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per my understanding, Uniqueness should not matter. Because you are trying to bring a list of &lt;STRONG&gt;keyfield_from_table_B&lt;/STRONG&gt; which have a instance in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;keyfield_from_table_A&lt;/STRONG&gt;. I have previously used this when both these fields were not unique (had duplicates) and it seemed to work, at least I hope it did &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 12:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861589#M301546</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T12:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861590#M301547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course you could use exists() with only one parameter and table from the field isn't important - if you need to grab a field only from one table you need to duplicate this field or qualify them. The check will be always executed against the distinct field-values from your field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 12:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861590#M301547</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-01T12:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861591#M301548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe, Maybe not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say that you have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableA:&lt;/P&gt;&lt;P&gt;Load ..., ID as Key From TableA;&lt;/P&gt;&lt;P&gt;TableB:&lt;/P&gt;&lt;P&gt;Load ..., ID as Key From TableB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where Exists(Key,ID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then a comparison will be made for each record: Does the current value of "ID" exist in the field "Key"? This will work fine - initially. But if you use "not Exists()", you will get into trouble: Soon t&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;he "Key" field contains also values from TableB, and a duplicate in TableB will hence not be loaded. &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;The comparison is not made against "Key" in table A. It is made against &lt;STRONG&gt;all&lt;/STRONG&gt; previously loaded values - from both A and B.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably should try:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;TableA:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Load ..., ID as Key, ID as KeyA From TableA;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;TableB:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Load ..., ID as Key From TableB&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where Exists(KeyA,ID);&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;or you can try&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;TableA:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Load ..., ID as Key From TableA;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;TableB:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Left Keep Load ..., ID as Key From TableB&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 12:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861591#M301548</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-07-01T12:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861592#M301549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that confuses me.&lt;/P&gt;&lt;P&gt;I guess that it will work then which is all I want for the moment.&lt;/P&gt;&lt;P&gt;Well, I guess I'll have to read up on that one once more and also read all the blogs and stuff on the issue.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 12:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861592#M301549</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T12:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861593#M301550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Uniqueness matters a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;:&lt;/P&gt;&lt;P&gt;see this document for the solution. I think what you propose is ok :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7020"&gt;The exists issue&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 12:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861593#M301550</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-07-01T12:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861594#M301551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So - it seems there exist() several opinions on what works and what doesn't regarding that function ... I will try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 12:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861594#M301551</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T12:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861595#M301552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really different opinions - we meant the same and have only described it in a different way. As usual &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt; had explained it an easier to understandable manner as me but there are more various options to use exists() so the ressource from &lt;A href="https://community.qlik.com/qlik-users/15235"&gt;giakoum&lt;/A&gt; is very useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 12:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861595#M301552</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-01T12:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861596#M301553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;TableA:&lt;/P&gt;
&lt;P&gt;Load ..., ID as Key From TableA;&lt;/P&gt;
&lt;P&gt;TableB:&lt;/P&gt;
&lt;P&gt;Load ..., ID as Key From TableB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where Exists(Key,ID);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Then a comparison will be made for each record: Does the current value of "ID" exist in the field "Key"? This will work fine - initially. But soon, the "Key" field contains also values from TableB, and a duplicate in TableB will hence not be loaded. &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;The comparison is not made against "Key" in table A. It is made against &lt;STRONG&gt;all&lt;/STRONG&gt; previously loaded values - from both A and B.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Henric, maybe it's too hot in here, but I don't understand your conclusion.&lt;/P&gt;&lt;P&gt;Why should a duplicate of table B not be loaded?&lt;/P&gt;&lt;P&gt;I believe your comment is relevant for a WHERE NOT EXISTS() clause, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861596#M301553</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-01T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861597#M301554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Marcus. I don't think we disagree on what works and what doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;On the issue of one parameter:&lt;/SPAN&gt; Of course the Exists() function works fine also with just one parameter.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;On the issue of uniqueness:&lt;/SPAN&gt; It is as I see it not a matter of uniqueness. It is just that many think that the function makes a comparison with a field in a previous table, when it in fact makes a comparison with &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;all&lt;/EM&gt;&lt;/SPAN&gt; loaded values of this field; also the ones from the current table. Hence, the second value of a duplicate in the same table will make Exists() return TRUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861597#M301554</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-07-01T13:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861598#M301555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the keyfield is calculated (or concatenated) from several elements, so from table_A (earlier), I can already name it whereas the one from table_B (second parameter to the EXISTS()) I have to write the formula as I cannot yet use the Alias_name. So they are different in a way.&lt;/P&gt;&lt;P&gt;Anyway, I will try loading the keyfield from table_A a second time with a different name and see what nr. of records I get then.&lt;/P&gt;&lt;P&gt;And I will try the alternative, using LEFT KEEP - but that might also prove troublesome because there is no common keyfield that is unique in both tables ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861598#M301555</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T13:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861599#M301556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it is too hot in &lt;EM style="text-decoration: underline;"&gt;here&lt;/EM&gt;... You are of course right.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861599#M301556</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-07-01T13:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861600#M301557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this "many think" in your post means just what I have thought and others have stated - that EXISTS() (or NOT EXISTS()) does not work as expected when the keyfield is not unique in the current table (table_B, the one loaded later where that clause is applied).&lt;/P&gt;&lt;P&gt;The integrated help does not state (and I think many do not know) that EXISTS() checks the current LOAD also - as one of those that don't have your background_knowledge, that would match my definition of "does not work as is to be expected" then.&lt;/P&gt;&lt;P&gt;Well, let's see what I can make of this in practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861600#M301557</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T13:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861601#M301558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi both of you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look forward to the weekend &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; It's supposed to be 37° ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861601#M301558</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T13:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861602#M301559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Up to 40°C forecasted &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861602#M301559</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-01T13:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861603#M301560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it worked as designed but I agree that the documentation to exists() didn't covered the complexity and confused the user and to learn it is a bit painful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861603#M301560</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-01T13:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861604#M301561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the documentation is clear on that it is &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;previously loaded records&lt;/EM&gt;&lt;/SPAN&gt; and not previously loaded tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"These functions are used when a value from previously loaded records of data is needed for the evaluation of the current record."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am aware that there are misunderstandings in this area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861604#M301561</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-07-01T13:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861605#M301562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep. I cannot argue further &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried two ways now:&lt;/P&gt;&lt;P&gt;- I have to put together my table_B (the one loaded later) from three elements, thus I have three LOADs.&lt;/P&gt;&lt;P&gt;- At first I had an EXISTS() clause in every single one&lt;/P&gt;&lt;P&gt;- Now I have tried loading them all first and then using the EXISTS() clause - the nr. of records is exactly the same.&lt;BR /&gt;&amp;nbsp; From all I know, there should be the same nr. of records in both tables, with all the right filters applied, but I end up&lt;BR /&gt;&amp;nbsp; with fewer records in table_B - about 10.000 less, so that might be the duplicate thing (the field is not unique in&lt;BR /&gt;&amp;nbsp;&amp;nbsp; table_B as that has a finer grain than table_A, so I cannot create a key that would be both common to those two&lt;BR /&gt;&amp;nbsp;&amp;nbsp; tables AND unique in table_B ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I will try the LEFT KEEP() option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: I have also renamed the field in table_A so that my clause read like&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; ... WHERE EXISTS([key_v2], [key])&amp;nbsp; &amp;lt;&amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861605#M301562</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T13:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861606#M301563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm ... the LEFT KEEP (with the table_name specified in brackets) produces the exact same nr. of records than the two options before - so I guess that must be correct, even if I don't wholly understand why there are fewer records than in my table_A ... but in companies such as this one, one doesn't have to understand everything ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to all!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: OK, this is halfway plausible - it could be that the data in different tables is moved into an archive in different intervals. I will limit my time_filter on table_A to the last three months and see. If that assumption is correct, then the difference in the nr. of records should decrease.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 13:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861606#M301563</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T13:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: EXISTS()</title>
      <link>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861607#M301564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is most strange ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now done all the loading without the final LEFT KEEP (or EXISTS()) and written down four or five fields that I have found (using a straight_table) to not be unique in my table_B.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; Then I have activated that LEFT KEEP again - and now I can find NONE of those obviously duplicated values! How can that be?&lt;/P&gt;&lt;P&gt;I understand that the effect of using EXISTS() can be to return too few records because of all the duplicate values, only the first one is kept - but how can it remove ALL of the duplicated values (incl. the original)??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you shed some light on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 14:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/EXISTS/m-p/861607#M301564</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-01T14:52:30Z</dc:date>
    </item>
  </channel>
</rss>

