<?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 Usage of &amp;quot;exists&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268907#M1203406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe all you need to do is swap the field order and use single quotes:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(exists(PartnerID, CustomerID),'Yes','No') as CustomerIsPartner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Aug 2010 20:22:29 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-08-03T20:22:29Z</dc:date>
    <item>
      <title>Usage of "exists"</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268905#M1203404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to check if the value of a field (CustomerID) in a table A is in any record of other table B, in the field PartnerID.&lt;/P&gt;&lt;P&gt;I am processing every record in table A. If the value of the CustomerID field can be found in table B, I'll update a field in table A.&lt;/P&gt;&lt;P&gt;I have tried with exists:&lt;/P&gt;&lt;P&gt;if(exists(CustomerID, PartnerID), "Yes","No") as CustomerIsPartner,&lt;/P&gt;&lt;P&gt;but QV cannot find PartnerID.&lt;/P&gt;&lt;P&gt;Should I go this way or can this be achieved with any other command?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 19:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268905#M1203404</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2010-08-03T19:06:16Z</dc:date>
    </item>
    <item>
      <title>Usage of "exists"</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268906#M1203405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You may use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD PartnerID FROM FILE.QVD (qvd) WHERE EXISTS(CustomerID, PartnerID);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So the final table loaded will only contain those records where PartnerID matches with an already existing CustomerID.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 19:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268906#M1203405</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-08-03T19:20:59Z</dc:date>
    </item>
    <item>
      <title>Usage of "exists"</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268907#M1203406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe all you need to do is swap the field order and use single quotes:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(exists(PartnerID, CustomerID),'Yes','No') as CustomerIsPartner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 20:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268907#M1203406</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-03T20:22:29Z</dc:date>
    </item>
    <item>
      <title>Usage of "exists"</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268908#M1203407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I'll have a look at the usage of .qvd files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 08:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268908#M1203407</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2010-08-04T08:49:00Z</dc:date>
    </item>
    <item>
      <title>Usage of "exists"</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268909#M1203408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;you were right, the order of the fields was incorrect. It works perfectly now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 08:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-quot-exists-quot/m-p/268909#M1203408</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2010-08-04T08:50:15Z</dc:date>
    </item>
  </channel>
</rss>

