<?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 files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641743#M235095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;IMG alt="Captura.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59296_Captura.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;I have this model and I need to compare the amounts of object 1 vs Rubro2 when they are equal.&lt;/P&gt;&lt;P&gt;This is a small example of my model, I could establish a link between Vend and heading, but in my original model more complex and need to do it this way.&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 May 2014 12:00:42 GMT</pubDate>
    <dc:creator>spividori</dc:creator>
    <dc:date>2014-05-21T12:00:42Z</dc:date>
    <item>
      <title>Compare two files</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641743#M235095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;IMG alt="Captura.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59296_Captura.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;I have this model and I need to compare the amounts of object 1 vs Rubro2 when they are equal.&lt;/P&gt;&lt;P&gt;This is a small example of my model, I could establish a link between Vend and heading, but in my original model more complex and need to do it this way.&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 May 2014 12:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641743#M235095</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2014-05-21T12:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two files</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641744#M235096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ecco il miol esempio, guarda "MY TABLE"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 12:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641744#M235096</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-21T12:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two files</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641745#M235097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any problem if you take this table in single table like with join of left join for comparing the fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 12:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641745#M235097</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-21T12:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two files</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641746#M235098</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;When I need to do this type of comparison, I concatenate the sets into a single fact table with a source field to indicate the original data source. It is then very easy to compare. So the load would be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Tbl1' As Source&lt;/P&gt;&lt;P&gt;FROM Tbl1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Tbl2' As Source&lt;/P&gt;&lt;P&gt;FROM Tbl2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then to compare, create a straight or pivot table with Vend as the dimension and for the expressions (to compare field Rubro):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tbl1&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Source = {'Tbl1'}&amp;gt;} Rubro)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tbl2&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;Source = {'Tbl2'}&amp;gt;} Rubro)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Diff&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Column(1) - Column(2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 12:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641746#M235098</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-05-21T12:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two files</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641747#M235099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding, but would not it be done with Set Analysis directly?&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 May 2014 12:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-files/m-p/641747#M235099</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2014-05-21T12:34:03Z</dc:date>
    </item>
  </channel>
</rss>

