<?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 exists () function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27620#M787775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the book, we used &lt;EM style="font-weight: inherit; font-family: inherit;"&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 class="jive-link-external-small" href="http://www.qlikfix.com/2013/07/30/distinct-can-be-deceiving/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&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>Mon, 19 Feb 2018 05:34:37 GMT</pubDate>
    <dc:creator>prma7799</dc:creator>
    <dc:date>2018-02-19T05:34:37Z</dc:date>
    <item>
      <title>Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27614#M787766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can Any please explain me where exists () in qlik how does it work with few clear examples?&lt;/P&gt;&lt;P&gt;&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, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27614#M787766</guid>
      <dc:creator>vongalaprashant</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27615#M787767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be look at the video&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=1kJog_73xDc" title="https://www.youtube.com/watch?v=1kJog_73xDc"&gt;Qlikview WHERE EXISTS by RFB 167 - YouTube&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 18:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27615#M787767</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-15T18:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27616#M787769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Employees:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //* Loading table1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;LOAD * inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Employee|ID|Salary&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Bill|001|20000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;John|002|30000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Steve|003|35000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;] (delimiter is '|');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Citizens:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0f0f0f; font-family: Consolas; font-size: 12px;"&gt;//* Loading table2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Load * inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Name|Address&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Bill|New York&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Mary|London&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Steve|Chicago&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Lucy|Paris&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;John|Miami&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;] (delimiter is '|');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Now i want filter data in table 2 compared to table1(common data)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;EmployeeAddresses:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name as Employee, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident Citizens where Exists (Employee, Name);&amp;nbsp;&amp;nbsp; //* This will look the common data in table2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Drop Tables Employees, Citizens;&amp;nbsp; ??8 Droping both tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;Output:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #0f0f0f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 5.25pt 5.25pt 5.25pt 5.25pt;" valign="top"&gt;&lt;P style="margin-bottom: 11.25pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Employee&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 5.25pt 5.25pt 5.25pt 5.25pt;" valign="top"&gt;&lt;P style="margin-bottom: 11.25pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Address&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 5.25pt 5.25pt 5.25pt 5.25pt;" valign="top"&gt;&lt;P style="margin-bottom: 11.25pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Bill&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 5.25pt 5.25pt 5.25pt 5.25pt;" valign="top"&gt;&lt;P style="margin-bottom: 11.25pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;New York&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 5.25pt 5.25pt 5.25pt 5.25pt;" valign="top"&gt;&lt;P style="margin-bottom: 11.25pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;John&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 5.25pt 5.25pt 5.25pt 5.25pt;" valign="top"&gt;&lt;P style="margin-bottom: 11.25pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Miami&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 5.25pt 5.25pt 5.25pt 5.25pt;" valign="top"&gt;&lt;P style="margin-bottom: 11.25pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Steve&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 5.25pt 5.25pt 5.25pt 5.25pt;" valign="top"&gt;&lt;P style="margin-bottom: 11.25pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Chicago&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;Now if the concept is clear mark it as answered!!!!!!!!!!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 07:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27616#M787769</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-02-16T07:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27617#M787771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The QlikView On-line help contains an extensive treatment of the Exists() function (including a multi-faceted example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See: &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/InterRecordFunctions/Exists.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/InterRecordFunctions/Exists.htm"&gt;Exists - script function - Qlikview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expand the subtree "Examples and Results" for a series of examples with an explanation of each one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the on-line help contains treatments of all functions and statements and includes examples for each one of them. On-line help is a good starting point. See: &lt;A href="https://help.qlik.com/en-US/" title="https://help.qlik.com/en-US/"&gt;Qlik Help&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 08:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27617#M787771</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-16T08:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27618#M787773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; code,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;BR /&gt;FROM [lib://20153098/data.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;table2:&lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; number&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "class",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Names&lt;BR /&gt;FROM [lib://20153098/data1.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1) where Exists(code,number);&lt;/P&gt;&lt;P&gt;//Rem&lt;BR /&gt;table3:&lt;BR /&gt;Load&lt;BR /&gt;&amp;nbsp; number as code,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "class",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Names &lt;/P&gt;&lt;P&gt;Resident table2 Where Exists(code,number) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I WANT TO KNOW WHY WE NEED O CREATE TABLE3 AND HOW DOES LOGIC IN TABLE3 WORKS ?&lt;/P&gt;&lt;P&gt;Please let me know in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 10.5pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica',sans-serif; font-size: 10.5pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 11:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27618#M787773</guid>
      <dc:creator>vongalaprashant</dc:creator>
      <dc:date>2018-02-16T11:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27619#M787774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;table3:&lt;BR /&gt;Load&lt;BR /&gt;&amp;nbsp; number as code,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "class",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Names&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Resident table2 Where Exists(code,number) ;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;The values in field &lt;STRONG&gt;Code&lt;/STRONG&gt; of table 1 Eg: 1,2,3,4,5,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;The values in field &lt;STRONG&gt;number&lt;/STRONG&gt; of table 2 Eg: ,2,,4,5,6,7,8&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Since you are doing resident load with where exists on table 2 ,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;it will load records having common in above fields.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;result be with records having values 2,4,5&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;We&amp;nbsp; cal also do inner join but for making it for optimized load we can use where exists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 05:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27619#M787774</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-02-19T05:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27620#M787775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the book, we used &lt;EM style="font-weight: inherit; font-family: inherit;"&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 class="jive-link-external-small" href="http://www.qlikfix.com/2013/07/30/distinct-can-be-deceiving/" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" target="_blank"&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>Mon, 19 Feb 2018 05:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27620#M787775</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2018-02-19T05:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27621#M787776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for replies.&lt;/P&gt;&lt;P&gt;Few things could not understand here that&amp;nbsp; &lt;/P&gt;&lt;P&gt;1.when we want to use where exists() is it mandatory to have same field name?&lt;/P&gt;&lt;P&gt;2.If So after renaming&amp;nbsp; field name eg: ((number as code)),how can we compare here number with code.&lt;/P&gt;&lt;P&gt;As we have already changed number in to code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 05:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27621#M787776</guid>
      <dc:creator>vongalaprashant</dc:creator>
      <dc:date>2018-02-19T05:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27622#M787777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;if you want to completely eliminate the data then table 3 is not required at all try like this &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;table1:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; code,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;BR /&gt;FROM [lib://20153098/data.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;table2:&lt;BR /&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; number&amp;nbsp; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;as code,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "class",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Names&lt;BR /&gt;FROM [lib://20153098/data1.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1) where Exists(code,number);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Where Exists(code,number) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 07:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27622#M787777</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2018-02-19T07:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27623#M787778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1.when we want to use where exists() is it mandatory to have same field name?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It is not mandatory to use same field name, for better performance we make it as same field.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2.If So after renaming&amp;nbsp; field name eg: ((number as code)),how can we compare here number with code.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As we have already changed number in to code?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here code is from Table 2 and number is from table 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Both fields terminology is different , but having same number representation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 04:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27623#M787778</guid>
      <dc:creator>qlik4asif</dc:creator>
      <dc:date>2018-02-20T04:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Where exists () function</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27624#M787779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One Qlikview Function I used often in the load script is the exists function.&lt;/P&gt;&lt;P&gt;you give it a value or expression and the name of the filed and it tells you if the value is already been loaded into the field,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRODUCT_MASTER:&lt;BR /&gt;Load&lt;BR /&gt;PRODUCT_CODE,&lt;BR /&gt;PRODUCT&lt;BR /&gt;Where Exists(PRODUCT_CODE);&lt;BR /&gt;SQL SELECT&lt;BR /&gt;PRODUCT_CODE,&lt;BR /&gt;PRODUCT_CODE' - 'DESCRIPTION AS PRODUCT&lt;BR /&gt;FROM PRODUCT_MASTER;&lt;/P&gt;&lt;P&gt;That pieces of code will only load product descriptions for product codes that were already loaded in previous tables. Note that the Exists function is a Qlik View function so it is used as part of the Qlik View Load statement and not as part of the SQL statement. Only one argument for the function is used in this case since the field name and the value to be checked are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second example of a place I use the Exists function is when I load temporary tables with special field names and values that fit a particular type or grouping so I can use the values to differentiate values in other fields I’m loading. Here’s an example: I load product codes into a special field that will contain only product codes for products made with 100% recycled materials:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP_RECYCLE_PRODUCTS:&lt;BR /&gt;Load&lt;BR /&gt;PRODUCT_CODE as RECYCLE_PRODUCT&lt;BR /&gt;Resident PRODUCT_MASTER&lt;BR /&gt;Where CONTENT='100 POST-CONSUMER RECYCLE';&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now, I can use that field names, RECYCLE_PRODUCT, with the Exists function as I load or process other data. This technique is especially useful when the data is coming from different sources where something like a SQL join is not available. I might use it like this when loading other data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GREEN_SALES:&lt;BR /&gt;//Sales of product made from recycled materials&lt;BR /&gt;Load&lt;BR /&gt;CUSTOMER,&lt;BR /&gt;SALES_DATE,&lt;BR /&gt;QUANTITY&lt;BR /&gt;Resident 2009_SALES_DETAIL&lt;BR /&gt;Where Exists(RECYCLE_PRODUCT,PRODUCT_CODE);&lt;/P&gt;&lt;P&gt;Drop table TEMP_RECYCLE_PRODUCTS;&lt;/P&gt;&lt;P&gt;At the end of the loadscript or when it is no longer needed you should drop temporary tables so that they don't unnecessarily use up memory or create unneeded associations.&lt;/P&gt;&lt;P&gt;In this third example, I use the Exists function to load only the first of a set of identical values as they are read in the input data. For example, this piece of code in the loadscript will only load data for the first time an error message appears in an error message log file. The input from the database is sorted into timestamp order and the Exists function in the Load statement checks to see if the specific error message value has already been loaded:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR_HISTORY:&lt;BR /&gt;Load&lt;BR /&gt;ERROR_TIMESTAMP,&lt;BR /&gt;ERROR_MESSAGE&lt;BR /&gt;Where Not Exists(ERROR_MESSAGE);&lt;BR /&gt;SQL SELECT&lt;BR /&gt;ERROR_TIMESTAMP,&lt;BR /&gt;ERROR_MESSAGE&lt;BR /&gt;FROM MESSAGES_LOG&lt;BR /&gt;ORDER BY ERROR_TIMESTAMP;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 05:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exists-function/m-p/27624#M787779</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2018-02-20T05:53:00Z</dc:date>
    </item>
  </channel>
</rss>

