<?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 Display only the missing records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251676#M95462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can do it in another way as&lt;/P&gt;&lt;P&gt;Table_A:&lt;/P&gt;&lt;P&gt;SQL SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Id] As Id,&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field as Field1&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbo."Table_A";&lt;/P&gt;&lt;P style="margin-left: 0pt; min-height: 8pt;"&gt;Outer Join&lt;/P&gt;&lt;P&gt;Table_B:&lt;BR /&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id,&lt;/P&gt;&lt;P&gt;&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; Field as Field2&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can get the missing id's as below&lt;/P&gt;&lt;P&gt;MissingIds:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table_A&lt;/P&gt;&lt;P&gt;Where Field2 &amp;lt;&amp;gt; Null();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table_A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2012 12:29:32 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-02-03T12:29:32Z</dc:date>
    <item>
      <title>Display only the missing records</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251674#M95460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to find missing records between two tables. The first table is a SQL table and the second table is a QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the following syntax which &lt;EM&gt;does &lt;/EM&gt;work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;P&gt;Table_A:&lt;BR /&gt;SQL SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Id] As Id&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbo."Table_A";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_B:&lt;BR /&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id AS Id1&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_C:&lt;BR /&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id as MissingIDs&lt;BR /&gt;RESIDENT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table_A&lt;BR /&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOT EXISTS(Id1,Id);&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, i was wondering if there is a more efficient way of doing it?? i.e in SQL Server i would use the syntax below. Is there something similar in QlikView??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table_A.Id&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table_A LEFT OUTER JOIN Table_B ON Table_A.Id = Table_B.Id&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Table_B.Id IS NULL)&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 12:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251674#M95460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-03T12:01:49Z</dc:date>
    </item>
    <item>
      <title>Display only the missing records</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251675#M95461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;If you load your two tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal;"&gt;&lt;SPAN style=": ; mso-bidi-font-family: Calibri; color: black; font-size: 10pt; Times New Roman&amp;amp;quot: ; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; font-family: Calibri; mso-fareast-font-family: &amp;amp;quot;"&gt;Table_A:&lt;BR /&gt; SQL SELECT [Id] As Id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style=": ; mso-bidi-font-family: Calibri; color: black; font-size: 10pt; Times New Roman&amp;amp;quot: ; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; font-family: Calibri; mso-fareast-font-family: &amp;amp;quot;"&gt;Id as Id_A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style=": ; mso-bidi-font-family: Calibri; color: black; font-size: 10pt; Times New Roman&amp;amp;quot: ; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; font-family: Calibri; mso-fareast-font-family: &amp;amp;quot;"&gt;FROM dbo."Table_A";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal;"&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style=": ; mso-bidi-font-family: Calibri; color: black; font-size: 10pt; Times New Roman&amp;amp;quot: ; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; font-family: Calibri; mso-fareast-font-family: &amp;amp;quot;"&gt;Table_B:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style=": ; mso-bidi-font-family: Calibri; color: black; font-size: 10pt; Times New Roman&amp;amp;quot: ; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; font-family: Calibri; mso-fareast-font-family: &amp;amp;quot;"&gt;LOAD Id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style=": ; mso-bidi-font-family: Calibri; color: black; font-size: 10pt; Times New Roman&amp;amp;quot: ; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; font-family: Calibri; mso-fareast-font-family: &amp;amp;quot;"&gt;Id AS Id_B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: black; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri;"&gt;FROM &lt;C&gt;(qvd);&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: black; font-size: 12pt; mso-ansi-language: EN; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;then you can right-click on Id_A and make a Select All. After this, you right-click on Id_B and Select Excluded. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 12:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251675#M95461</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-02-03T12:08:10Z</dc:date>
    </item>
    <item>
      <title>Display only the missing records</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251676#M95462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can do it in another way as&lt;/P&gt;&lt;P&gt;Table_A:&lt;/P&gt;&lt;P&gt;SQL SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Id] As Id,&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field as Field1&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbo."Table_A";&lt;/P&gt;&lt;P style="margin-left: 0pt; min-height: 8pt;"&gt;Outer Join&lt;/P&gt;&lt;P&gt;Table_B:&lt;BR /&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id,&lt;/P&gt;&lt;P&gt;&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; Field as Field2&lt;BR /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can get the missing id's as below&lt;/P&gt;&lt;P&gt;MissingIds:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Table_A&lt;/P&gt;&lt;P&gt;Where Field2 &amp;lt;&amp;gt; Null();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table_A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 12:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251676#M95462</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-03T12:29:32Z</dc:date>
    </item>
    <item>
      <title>Display only the missing records</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251677#M95463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the responses. There are obviously different ways to achieve the same result however, &lt;/P&gt;&lt;P&gt;Celambarasan's suggestion was the one i was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Robbie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 13:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-the-missing-records/m-p/251677#M95463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-03T13:11:00Z</dc:date>
    </item>
  </channel>
</rss>

