<?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 Data Comparison between two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321794#M1199376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;I think this can be solved using the 'NOT EXISTS' clause.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;data:&lt;BR /&gt;load *&lt;BR /&gt;resident A&lt;BR /&gt;where not exists (A.Column1, B.Column1);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Regards from Brazil.&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 17:47:35 GMT</pubDate>
    <dc:creator>fosuzuki</dc:creator>
    <dc:date>2011-04-14T17:47:35Z</dc:date>
    <item>
      <title>Data Comparison between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321792#M1199371</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;I have two tables A and B and I have to comapre A.Column1 with B.column1 and have to find out what are the nonmatching data in table A.Column1.Below is an example and expected result is 400 and 500. Can you please let me know what would be a best way to do so?&lt;/P&gt;&lt;P&gt;A B&lt;BR /&gt;----- --------&lt;BR /&gt;100 100&lt;BR /&gt;200 200&lt;BR /&gt;300 300&lt;BR /&gt;400 800&lt;BR /&gt;500 900&lt;/P&gt;&lt;P&gt;Thanks,Pooja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 17:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321792#M1199371</guid>
      <dc:creator />
      <dc:date>2011-04-14T17:18:35Z</dc:date>
    </item>
    <item>
      <title>Data Comparison between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321793#M1199373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are various methods to achieve this: the simplest may well be to use the exists() function when loading table B. Alternatively you could use the below style:&lt;/P&gt;&lt;P&gt;Compare:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; F1, TableA&lt;BR /&gt; 100, A&lt;BR /&gt; 200, A&lt;BR /&gt; 400, A&lt;BR /&gt; 500, A&lt;BR /&gt; 800, A&lt;BR /&gt; 900, A&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Outer Join (Compare)&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; F1, TableB&lt;BR /&gt; 100, B&lt;BR /&gt; 200, B&lt;BR /&gt; 400, B&lt;BR /&gt; 500, B&lt;BR /&gt; 600, B&lt;BR /&gt; 700, B&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;This will give you the following table allowing you to compare to your hearts content:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/7573.Compare.PNG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/7573.Compare.PNG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps - if not I'm sure there are many more methods to try.&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 17:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321793#M1199373</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-04-14T17:40:52Z</dc:date>
    </item>
    <item>
      <title>Data Comparison between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321794#M1199376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pooja,&lt;/P&gt;&lt;P&gt;I think this can be solved using the 'NOT EXISTS' clause.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;data:&lt;BR /&gt;load *&lt;BR /&gt;resident A&lt;BR /&gt;where not exists (A.Column1, B.Column1);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Regards from Brazil.&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 17:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321794#M1199376</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2011-04-14T17:47:35Z</dc:date>
    </item>
    <item>
      <title>Data Comparison between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321795#M1199377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your response.I tried this but got the error msg(field not found).It couldn't recognise B.column1 .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 19:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321795#M1199377</guid>
      <dc:creator />
      <dc:date>2011-04-14T19:45:32Z</dc:date>
    </item>
    <item>
      <title>Data Comparison between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321796#M1199379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change position of the column name in where clause&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 12:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Comparison-between-two-tables/m-p/321796#M1199379</guid>
      <dc:creator />
      <dc:date>2011-04-15T12:56:03Z</dc:date>
    </item>
  </channel>
</rss>

