<?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 not Exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035922#M933403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can also work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Table A]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Name&amp;amp;'|'&amp;amp;Num(DOB)&amp;amp;'|'&amp;amp;FromCountry as Key&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name, DOB, FromCountry&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 12/5/1953, Singapore&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark, 8/2/1967, China&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate ([Table A])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where not Exists(Key, Name&amp;amp;'|'&amp;amp;Num(DOB)&amp;amp;'|'&amp;amp;FromCountry);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name, DOB, FromCountry&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 12/5/1953, Singapore&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 12/5/1953, Thailand&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 19/11/1959, Thailand&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 8/2/1987, Singapore&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Field Key;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116172_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2016 15:46:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-26T15:46:53Z</dc:date>
    <item>
      <title>Where not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035920#M933401</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;I have one question to solve. For example I two table: Name A and Name B have following data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Table A]&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, DOB, FromCountry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jack, 12/5/1953, Singapore&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark, 8/2/1967, China&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;SPAN style="font-size: 13.3333px;"&gt;Table&amp;nbsp; B&lt;/SPAN&gt;]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, DOB, FromCountry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Jack, 12/5/1953, Singapore&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jack, 12/5/1953, Thailand&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jack, 19/11/1959, Thailand&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jack, 8/2/1987, Singapore&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, my question is how can I check from Table B if the name, DOB, and FromCountry not exists in Table A.&lt;/P&gt;&lt;P&gt;Eg: One person maybe have the same name with another person but they are from difference country so they are different people. Another case is two person have the same name and come from same country but they have different DOB day, so they also are difference people.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get the result in the script?&lt;/P&gt;&lt;P&gt;The result will look like following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Name, DOB, FromCountry&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Jack, 12/5/1953, Singapore&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Mark, 8/2/1967, China&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Jack, 12/5/1953, Thailand&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jack, 19/11/1959, Thailand&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Jack, 8/2/1987, Singapore&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks for helping.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Ming Jiun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 08:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035920#M933401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-26T08:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035921#M933402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally you would have better data with unique ID's for each person and check on them. If your data-source is really not better you would need to combine all fields like: Field1 &amp;amp; '|' &amp;amp; Field2 &amp;amp; '|' &amp;amp; Field3 as KEY and make the check with the exist-function on them (this here &lt;A href="https://community.qlik.com/docs/DOC-9038"&gt;Advanced topics for creating a qlik datamodel&lt;/A&gt; contained several good examples of exists).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in your case should be a load with distinct enough to exclude any duplicates, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load distinct * From Source1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate&lt;/P&gt;&lt;P&gt;Load distinct * From Source2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035921#M933402</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-26T15:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Where not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035922#M933403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can also work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Table A]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Name&amp;amp;'|'&amp;amp;Num(DOB)&amp;amp;'|'&amp;amp;FromCountry as Key&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name, DOB, FromCountry&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 12/5/1953, Singapore&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark, 8/2/1967, China&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate ([Table A])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where not Exists(Key, Name&amp;amp;'|'&amp;amp;Num(DOB)&amp;amp;'|'&amp;amp;FromCountry);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name, DOB, FromCountry&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 12/5/1953, Singapore&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 12/5/1953, Thailand&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 19/11/1959, Thailand&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jack, 8/2/1987, Singapore&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Field Key;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116172_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035922#M933403</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T15:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035923#M933404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologize Marcus, did not read your comment above the distinct concatenate script. You actually proposed the same idea for which I provided the script for. Had no intention of undermining your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 16:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035923#M933404</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T16:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Where not Exists</title>
      <link>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035924#M933405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem, with your practically example to my theoretically suggestions you created really an added value &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 16:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-not-Exists/m-p/1035924#M933405</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-26T16:10:56Z</dc:date>
    </item>
  </channel>
</rss>

