<?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 Comparing data between two identical tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-data-between-two-identical-tables/m-p/249914#M94925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think not, if you wish to compare both tables, with the possibility that there might be orphans in either table.&lt;/P&gt;&lt;P&gt;If you have a master-table (containing all records) and need to find the missing values in the other table, you may check the EXISTS()-function:&lt;/P&gt;&lt;P&gt;Master: LOAD * FROM Master;&lt;/P&gt;&lt;P&gt;Check: LOAD * FROM OtherTable WHERE NOT EXISTS(key);&lt;/P&gt;&lt;P&gt;DROP TABLE Master;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might depend on the number of records, and might be worth for you to test, whether such solution has a better performance than the proposed JOIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 20:48:54 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2011-05-31T20:48:54Z</dc:date>
    <item>
      <title>Comparing data between two identical tables</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-between-two-identical-tables/m-p/249913#M94924</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 a data table in one database that I'm migrating to another. So the data should be exactly the same. Is there a good way to compare two tables in the QlikView script to find data discrepancies?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read this before opening a new thread &lt;A _jive_internal="true" href="https://community.qlik.com/message/65158#65158"&gt;http://community.qlik.com/message/65158&lt;/A&gt; but does anyone know something of more efficient than using explicit join ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tl"&gt;Is there an easy way to see only the rows that are different using some function (like &lt;/SPAN&gt;arithmetic subtraction)&lt;SPAN class="tl"&gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tl"&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 09:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-between-two-identical-tables/m-p/249913#M94924</guid>
      <dc:creator />
      <dc:date>2011-05-30T09:18:34Z</dc:date>
    </item>
    <item>
      <title>Comparing data between two identical tables</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-between-two-identical-tables/m-p/249914#M94925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think not, if you wish to compare both tables, with the possibility that there might be orphans in either table.&lt;/P&gt;&lt;P&gt;If you have a master-table (containing all records) and need to find the missing values in the other table, you may check the EXISTS()-function:&lt;/P&gt;&lt;P&gt;Master: LOAD * FROM Master;&lt;/P&gt;&lt;P&gt;Check: LOAD * FROM OtherTable WHERE NOT EXISTS(key);&lt;/P&gt;&lt;P&gt;DROP TABLE Master;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might depend on the number of records, and might be worth for you to test, whether such solution has a better performance than the proposed JOIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 20:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-between-two-identical-tables/m-p/249914#M94925</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-05-31T20:48:54Z</dc:date>
    </item>
  </channel>
</rss>

