<?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: Understanding EXISTS() function - Qlikview vs SQL/RDBMS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622885#M1108491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Barry, Please consider joining Stackoverflow if you are not there already. There are very few QlikView experts there. SO is &lt;/SPAN&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;simpler and easier to use&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt; compared to this clunky forum. I am on a one man mission to end this forum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2014 17:52:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-26T17:52:08Z</dc:date>
    <item>
      <title>Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622880#M1108479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read this great article which explains how some features of qlikview might be unintuitive - &lt;A href="http://luciancotea.wordpress.com/2013/08/02/qlikview-against-intuition/" title="http://luciancotea.wordpress.com/2013/08/02/qlikview-against-intuition/"&gt;http://luciancotea.wordpress.com/2013/08/02/qlikview-against-intuition/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider this - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: monospace, serif; font-size: inherit; font-weight: inherit;"&gt;TABLE1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, a&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, b&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, c&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, d&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, e&lt;BR /&gt;]&lt;BR /&gt;WHERE NOT Exists(F1)&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: monospace, serif; font-size: inherit; font-weight: inherit;"&gt;;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He says that "&lt;SPAN style="color: #555555; font-family: Arial, Helvetica, sans-serif; font-size: 14.399999618530273px;"&gt;The last line from second table (4, e) will not be loaded despite the fact that 4 does not exists in TABLE1.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;If same logic was written in SQL for DB, then last line would also be loaded. Actually, I think SQL seems unintuitive here.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the author proceeds to create a copy of key F1 to load last line, just like SQL would. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: monospace, serif; font-size: inherit; font-weight: inherit;"&gt;TABLE1:&lt;BR /&gt;LOAD *, F1 as F3 INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, a&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, b&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, c&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;concatenate&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, d&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, e&lt;BR /&gt;]&lt;BR /&gt;WHERE NOT Exists(F3, F1);&lt;BR /&gt;&lt;BR /&gt;DROP FIELD F3;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;My question is -&lt;/STRONG&gt;&lt;/SPAN&gt; Why create a copy of the column F1 ? &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Why can't we simply check if the COMBINATION of F1,F2 in Table2 does not exist in Table1 as shown below ? Why do I have to create a copy of a key ? What is the advantage ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, c&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, d&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, e&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;WHERE NOT Exists(F1,F2)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An extra thing - This same logic is used for a much bigger load in the Qlikview 11 for developers book. I wonder why.&lt;/P&gt;&lt;P&gt;See page 289 or so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 01:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622880#M1108479</guid>
      <dc:creator />
      <dc:date>2014-03-26T01:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622881#M1108480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, I would have simply done a full outer join as attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 03:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622881#M1108480</guid>
      <dc:creator />
      <dc:date>2014-03-26T03:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622882#M1108482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Exists() function only checks a single field, so that is why you need to concatenate two or more fields together into a single field if you want to compare against the combinations of multiple fields. In this case, a join would work as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the book, we used &lt;EM&gt;Where NOT Exists()&lt;/EM&gt; on a link table to prevent duplicate records in the link table. My thinking around this subject has changed somewhat since the publication of the book, you can find an easier solution here: &lt;A href="http://www.qlikfix.com/2013/07/30/distinct-can-be-deceiving/" title="http://www.qlikfix.com/2013/07/30/distinct-can-be-deceiving/"&gt;DISTINCT can be deceiving » The Qlik Fix! The Qlik Fix!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 08:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622882#M1108482</guid>
      <dc:creator>barryharmsen</dc:creator>
      <dc:date>2014-03-26T08:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622883#M1108485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would tend to do a blind concatenate into a temporary table and then do a distinct load into a final table to deduplicate the table rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach takes more time, but is unamibiguous.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 11:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622883#M1108485</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-03-26T11:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622884#M1108487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/94596"&gt;David Foster&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the "DISTINCT can be deceiving" post above. You can basically do it all in one pass by simply doing a LOAD DISTINCT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Barry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 12:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622884#M1108487</guid>
      <dc:creator>barryharmsen</dc:creator>
      <dc:date>2014-03-26T12:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622885#M1108491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Barry, Please consider joining Stackoverflow if you are not there already. There are very few QlikView experts there. SO is &lt;/SPAN&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;simpler and easier to use&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt; compared to this clunky forum. I am on a one man mission to end this forum.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 17:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622885#M1108491</guid>
      <dc:creator />
      <dc:date>2014-03-26T17:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622886#M1108493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exists() function checks if a value of the field (first parameter of the exist function) has been loaded anywhere in the script.&amp;nbsp; This parameter is always a &lt;STRONG&gt;field&lt;/STRONG&gt;, never an expression.&amp;nbsp; The exists in the second load compares existing F3 values against incoming F1 values here:&lt;BR /&gt;WHERE NOT Exists(F3, F1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You suggestion about combination F1 and F2 is not going to work the same way because it is &lt;STRONG&gt;logically&lt;/STRONG&gt; different.&amp;nbsp; And, you still must use field as the first parameter, can't avoid F3 here:&lt;/P&gt;&lt;P&gt;TABLE1:&lt;BR /&gt;LOAD *, F1&amp;amp;F2 as F3 INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, a&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, b&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, c&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;concatenate&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, d&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, e&lt;BR /&gt;]&lt;BR /&gt;WHERE NOT Exists(F3, F1&amp;amp;F2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logical difference is easy to see if change data a little, add another line into the 1st table:&lt;BR /&gt;4, z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example with (F1 as F3) is going to eliminate both record from the table 2, because there is F3=4 in table 1&lt;BR /&gt;The combination logic will keep all the data because all combinations are unique in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps a little...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 19:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622886#M1108493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-26T19:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622887#M1108494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Michael, please consider joining Stackoverflow if you are not there already. There are very few QlikView experts there. SO is &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;simpler and easier to use&lt;/STRONG&gt; compared to this clunky forum. I am on a one man mission to end this forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 20:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622887#M1108494</guid>
      <dc:creator />
      <dc:date>2014-03-26T20:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding EXISTS() function - Qlikview vs SQL/RDBMS</title>
      <link>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622888#M1108495</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'm glad you liked my article. Now, to answer your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Why create a copy of the column F1 ? &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;We need a temporary, fixed copy of the F1 field to use as reference in order to reach our goal (SQL-like behavior). In QlikView, Exists() function will check the F1 field for every imported row.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Why can't we simply check if the COMBINATION of F1,F2 in Table2 does not exist in Table1 as shown below ? &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Remember, this is an example to illustrate a behavior. F2 is just extra info, cant use it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Imagine you have a historical invoices details table with 30 columns, and you need to concatenate yesterday invoices (you have several lines per invoice). If you use the Exists() function like in SQL, you will import only the first line of every invoice.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;What is the advantage ?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Advantage as to.... what?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 11:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Understanding-EXISTS-function-Qlikview-vs-SQL-RDBMS/m-p/622888#M1108495</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2014-04-05T11:20:47Z</dc:date>
    </item>
  </channel>
</rss>

