<?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 compare two primary field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397978#M148202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tables like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Company&lt;/P&gt;&lt;P&gt;ServiceDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Company&lt;/P&gt;&lt;P&gt;WorkDoneDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i create straight table that shows difference between field of company (from table1) to company in table2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words table will show company that exist in one table and does not exist in other and vice versa along with the table name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 19:59:32 GMT</pubDate>
    <dc:creator>userid128223</dc:creator>
    <dc:date>2012-11-02T19:59:32Z</dc:date>
    <item>
      <title>compare two primary field</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397978#M148202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tables like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Company&lt;/P&gt;&lt;P&gt;ServiceDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Company&lt;/P&gt;&lt;P&gt;WorkDoneDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i create straight table that shows difference between field of company (from table1) to company in table2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words table will show company that exist in one table and does not exist in other and vice versa along with the table name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 19:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397978#M148202</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2012-11-02T19:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: compare two primary field</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397979#M148203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Company as Dimension&lt;/P&gt;&lt;P&gt;Check with expression as if(isNull(ServiceDate) and not isNull(WorkDoneDate),'Exists in Table2',if(isNull(WorkDoneDate) and not isNull(ServiceDate), 'Exists in Table1', 'Exists in Both'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because If the company is not exisits in other table then it maps values as null. In other words missing values are considered as Null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 20:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397979#M148203</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-11-02T20:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: compare two primary field</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397980#M148204</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; Are you asking like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualify*;&lt;/P&gt;&lt;P&gt;﻿﻿﻿﻿&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Company&lt;/P&gt;&lt;P&gt;ServiceDate; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Company&lt;/P&gt;&lt;P&gt;WorkDoneDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by using that, you can see the tablename along with company..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;are you like this&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load company,serviceDate from table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load company,workDoneDate from table2 where exists(company,company);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this, it loads the company in table2 where those company name exists in table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in table:&lt;/P&gt;&lt;P&gt;company as dimension:&lt;/P&gt;&lt;P&gt;if( isnull(WorkDoneDate) = -1,'exists in table2', 'exists in table1')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 20:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397980#M148204</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-02T20:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: compare two primary field</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397981#M148205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to keep table 1 and table 2 as is with company name common.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I just want to find bad data quickly by comparing where company exist in one and does not exist in another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of doing a seperate load of two table via outerjoin. and then call them in straight table to show company where it does not match in both tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how would i do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 20:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397981#M148205</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2012-11-02T20:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: compare two primary field</title>
      <link>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397982#M148206</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt; Load * from table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(Table1)&lt;/P&gt;&lt;P&gt;Load *&amp;nbsp; from table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 20:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-two-primary-field/m-p/397982#M148206</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-02T20:35:32Z</dc:date>
    </item>
  </channel>
</rss>

