<?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 Comapre 2 data sets in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comapre-2-data-sets/m-p/181311#M47388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement to comapre 2 data sets one at a transaction level and one at an aggregated level.&lt;/P&gt;&lt;P&gt;Ex. I have a loans table and a branch table. The loans table has all transaction level details and contains lots of flags on basis of which a value is calculated. (Say A). A=sum((if Flag='Y',colA)). The Branch info is present in Loans table.&lt;/P&gt;&lt;P&gt;The Branch table has a pre calcuated value (Say B) for each month.&lt;/P&gt;&lt;P&gt;Now I have to show a bar chart whose dimension is Month and expression is sum(A)/Sum(B).&lt;/P&gt;&lt;P&gt;I can think of applying the logic at script level and grouping the data to the branch level and calculating A and then simply comparing it with B on chart, but I have 5 different things to calculate based on different conditions and comapre it with 5 different values of branch table.&lt;/P&gt;&lt;P&gt;Please suggest me a good approach.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Nov 2010 21:32:33 GMT</pubDate>
    <dc:creator>parpatra</dc:creator>
    <dc:date>2010-11-10T21:32:33Z</dc:date>
    <item>
      <title>Comapre 2 data sets</title>
      <link>https://community.qlik.com/t5/QlikView/Comapre-2-data-sets/m-p/181311#M47388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement to comapre 2 data sets one at a transaction level and one at an aggregated level.&lt;/P&gt;&lt;P&gt;Ex. I have a loans table and a branch table. The loans table has all transaction level details and contains lots of flags on basis of which a value is calculated. (Say A). A=sum((if Flag='Y',colA)). The Branch info is present in Loans table.&lt;/P&gt;&lt;P&gt;The Branch table has a pre calcuated value (Say B) for each month.&lt;/P&gt;&lt;P&gt;Now I have to show a bar chart whose dimension is Month and expression is sum(A)/Sum(B).&lt;/P&gt;&lt;P&gt;I can think of applying the logic at script level and grouping the data to the branch level and calculating A and then simply comparing it with B on chart, but I have 5 different things to calculate based on different conditions and comapre it with 5 different values of branch table.&lt;/P&gt;&lt;P&gt;Please suggest me a good approach.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 21:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comapre-2-data-sets/m-p/181311#M47388</guid>
      <dc:creator>parpatra</dc:creator>
      <dc:date>2010-11-10T21:32:33Z</dc:date>
    </item>
  </channel>
</rss>

