<?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: How to find difference between two data sets in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514013#M192047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried "where (not) exists"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2013 14:43:06 GMT</pubDate>
    <dc:creator>richard_pearce6</dc:creator>
    <dc:date>2013-08-21T14:43:06Z</dc:date>
    <item>
      <title>How to find difference between two data sets</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514012#M192046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a need to find the difference between two data sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL I can do this by doing something like:&lt;/P&gt;&lt;P&gt;Select * from Premium where AccountNumber not in (Select ACCOUNTNO from FinacialMaster)&lt;/P&gt;&lt;P&gt;Select * from FinacialMaster where ACCOUNTNO not in (Select AccountNumber from Premium)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm not sure how I can do something similar in Qlikview. Set Analysis might work - but I don't even know how I would do that with set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how you can do this kind of thing (find the difference between two data sets)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 14:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514012#M192046</guid>
      <dc:creator />
      <dc:date>2013-08-21T14:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to find difference between two data sets</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514013#M192047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried "where (not) exists"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 14:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514013#M192047</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2013-08-21T14:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to find difference between two data sets</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514014#M192048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this but I'm getting an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[FinancialMaster]:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;QVDs\FinancialMaster.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[DiffTableYTD]:&lt;/P&gt;&lt;P&gt;NOCONCATENATE&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;RESIDENT [PremiumYTD]&lt;/P&gt;&lt;P&gt;Where Not Exists([AccountNumber], [ACCOUNT NO]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get an error "Field not found - &amp;lt;ACCOUNT NO&amp;gt;".&lt;/P&gt;&lt;P&gt;[ACCOUNT NO] is loaded in the [FinancialMaster] and [AccountNumber] is loaded in the [PremiumYTD]. So I know the fields exist. the [PremiumYTD] table is loaded prefiously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Qlikview reference manual states "The field must exist in the data loaded so far by the script." - this should be met once I have loaded both tables (which I have).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 15:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514014#M192048</guid>
      <dc:creator />
      <dc:date>2013-08-21T15:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to find difference between two data sets</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514015#M192049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like you just got the syntax the wrong way around. I always have trouble remembering the right way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached an example, I hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 16:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514015#M192049</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2013-08-21T16:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to find difference between two data sets</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514016#M192050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich,&lt;/P&gt;&lt;P&gt;That helped I got it working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 13:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-difference-between-two-data-sets/m-p/514016#M192050</guid>
      <dc:creator />
      <dc:date>2013-08-22T13:47:27Z</dc:date>
    </item>
  </channel>
</rss>

