<?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 Please help... SUM / AGGR in Pivot table is wrong!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Please-help-SUM-AGGR-in-Pivot-table-is-wrong/m-p/246896#M581412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I created a pivot chart / table with a formula (I want to SUM()&amp;nbsp; 3 different "elements" ("SB","SKY","MREC") and want to display the max one daily based.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I'm checking the values the total sum (autogenerated) is WRONG !!! :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="111.gif" class="jive-image-thumbnail jive-image" height="415" onclick="" src="https://community.qlik.com/legacyfs/online/8780_111.gif" width="528" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I'm calculating (sum) the values manually (or in ms-excel), I will get another result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="222.gif" class="jive-image-thumbnail jive-image" height="451" onclick="" src="https://community.qlik.com/legacyfs/online/8781_222.gif" width="725" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thinks this happens because the formula is still in this field while autogenerating the sum()-Line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to autogenerate the SUM() without using the formula in this field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;jup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Nov 2011 12:42:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-22T12:42:45Z</dc:date>
    <item>
      <title>Please help... SUM / AGGR in Pivot table is wrong!!</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-SUM-AGGR-in-Pivot-table-is-wrong/m-p/246896#M581412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I created a pivot chart / table with a formula (I want to SUM()&amp;nbsp; 3 different "elements" ("SB","SKY","MREC") and want to display the max one daily based.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I'm checking the values the total sum (autogenerated) is WRONG !!! :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="111.gif" class="jive-image-thumbnail jive-image" height="415" onclick="" src="https://community.qlik.com/legacyfs/online/8780_111.gif" width="528" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I'm calculating (sum) the values manually (or in ms-excel), I will get another result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="222.gif" class="jive-image-thumbnail jive-image" height="451" onclick="" src="https://community.qlik.com/legacyfs/online/8781_222.gif" width="725" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thinks this happens because the formula is still in this field while autogenerating the sum()-Line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to autogenerate the SUM() without using the formula in this field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;jup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 12:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-SUM-AGGR-in-Pivot-table-is-wrong/m-p/246896#M581412</guid>
      <dc:creator />
      <dc:date>2011-11-22T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Please help... SUM / AGGR in Pivot table is wrong!!</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-SUM-AGGR-in-Pivot-table-is-wrong/m-p/246897#M581413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a pivot, the total will be a total expression, not sum of rows as you might expect.&lt;/P&gt;&lt;P&gt;You will need advanced aggregation here, please check out "sum of rows in pivot tables" in the help file.&lt;/P&gt;&lt;P&gt;(Or post your complete expression so someone might help you on the syntax).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 12:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-SUM-AGGR-in-Pivot-table-is-wrong/m-p/246897#M581413</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-22T12:53:16Z</dc:date>
    </item>
    <item>
      <title>Please help... SUM / AGGR in Pivot table is wrong!!</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-SUM-AGGR-in-Pivot-table-is-wrong/m-p/246898#M581414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved the problem. Take a look in the english manual (QlikView Reference Manual.pdf):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Arial','sans-serif'; font-size: 15pt;"&gt;21.3 Sum of rows in Pivot Tables&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 15pt; font-family: 'Arial','sans-serif';"&gt;I solved the problem using the aggr-function:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(vSB) &amp;gt;= $(vSKY) and $(vSB) &amp;gt;= $(vMREC), $(vSB), &lt;/P&gt;&lt;P&gt;&amp;nbsp; if($(vSKY) &amp;gt;= $(vSB) and $(vSKY) &amp;gt;= $(vMREC),$(vSKY), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($(vMREC) &amp;gt; $(vSB) and $(vMREC) &amp;gt; $(vSKY), $(vMREC),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,DATE))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 15:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-SUM-AGGR-in-Pivot-table-is-wrong/m-p/246898#M581414</guid>
      <dc:creator />
      <dc:date>2012-01-26T15:18:47Z</dc:date>
    </item>
  </channel>
</rss>

