<?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 problem with sum formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-sum-formula/m-p/306453#M113152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a table with following fields&lt;/P&gt;&lt;P&gt;ACT:&lt;/P&gt;&lt;P&gt;Week, Product_family, Qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another table &lt;/P&gt;&lt;P&gt;SUM_ACT:&lt;/P&gt;&lt;P&gt;Week,&lt;/P&gt;&lt;P&gt;Product_Family,&lt;/P&gt;&lt;P&gt;sum(QTY) as quantity&lt;/P&gt;&lt;P&gt;resident ACT&lt;/P&gt;&lt;P&gt;group by Week,Product_Family;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i try to pull the above two tables in different table boxes. Now logically, The sum should only sum it up, If any of the Week and Product_Family are repeated. Now what happens here is that&amp;nbsp; the sum is different that the one that i can see in the table box of ACT. Can some one explain the reason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2011 15:06:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-21T15:06:22Z</dc:date>
    <item>
      <title>problem with sum formula</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-sum-formula/m-p/306453#M113152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a table with following fields&lt;/P&gt;&lt;P&gt;ACT:&lt;/P&gt;&lt;P&gt;Week, Product_family, Qty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another table &lt;/P&gt;&lt;P&gt;SUM_ACT:&lt;/P&gt;&lt;P&gt;Week,&lt;/P&gt;&lt;P&gt;Product_Family,&lt;/P&gt;&lt;P&gt;sum(QTY) as quantity&lt;/P&gt;&lt;P&gt;resident ACT&lt;/P&gt;&lt;P&gt;group by Week,Product_Family;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i try to pull the above two tables in different table boxes. Now logically, The sum should only sum it up, If any of the Week and Product_Family are repeated. Now what happens here is that&amp;nbsp; the sum is different that the one that i can see in the table box of ACT. Can some one explain the reason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 15:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-sum-formula/m-p/306453#M113152</guid>
      <dc:creator />
      <dc:date>2011-06-21T15:06:22Z</dc:date>
    </item>
    <item>
      <title>problem with sum formula</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-sum-formula/m-p/306454#M113153</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;Using QV you don't need to create the SUM_ACT table at the script level. You could just use a chart (as a straight table, for example) and include week and product_family as dimensions and sum(Qty) as an expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;In your case, you have all the the behavior in the table box because it will show you all the possible values in a line. &lt;/P&gt;&lt;P&gt;You could go to table properties -&amp;gt; presentation tab, select some fields and check 'Omit rows where field is null' to get the results you are looking for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 16:34:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-sum-formula/m-p/306454#M113153</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-21T16:34:16Z</dc:date>
    </item>
  </channel>
</rss>

