<?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 Re: Partial sum with Aggr() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305997#M516174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Thank you very much. It works. But without the SUM.&lt;/P&gt;&lt;P&gt;With the SUM, the numbers are going haywire.&lt;/P&gt;&lt;P&gt;I can get it till the Share Basis, but for Area, I think I might need to look at options or use a set modifier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 08:40:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-30T08:40:46Z</dc:date>
    <item>
      <title>Partial sum with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305995#M516172</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 pivot table as such&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Area,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Share Basis,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time Version,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value, Category Total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Category is a field which is above Share Basis in the hierarchy, but is not shown in the pivot table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do an aggregation on Category, Area and Time Version (which can be same across multiple rows) to get the Category total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been using the following formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(AGGR(&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUM([Value]),&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Category],[Area],[Time Version]&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not giving the expected result. It is returning a value only for one row and not the others. Is there any way I can do partial aggregations with AGGR() and how do I get the desired result in this scenario?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 06:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305995#M516172</guid>
      <dc:creator />
      <dc:date>2017-03-30T06:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Partial sum with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305996#M516173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using NODISTINCT like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM(AGGR( &lt;STRONG&gt;NODISTINCT&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; SUM([Value]),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; [Category],[Area],[Time Version]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 07:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305996#M516173</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-03-30T07:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Partial sum with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305997#M516174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Thank you very much. It works. But without the SUM.&lt;/P&gt;&lt;P&gt;With the SUM, the numbers are going haywire.&lt;/P&gt;&lt;P&gt;I can get it till the Share Basis, but for Area, I think I might need to look at options or use a set modifier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 08:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305997#M516174</guid>
      <dc:creator />
      <dc:date>2017-03-30T08:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Partial sum with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305998#M516175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Category], [Area], [Time Version]&lt;/SPAN&gt;&amp;gt; [Value])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 08:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305998#M516175</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T08:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Partial sum with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305999#M516176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried that. What happened in that situation was a [Category] was not present in the pivot table dimensions, the result was totalling across Area and Time Version, but not for Category. So I have opted to use AGGR() instead of TOTAL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 08:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1305999#M516176</guid>
      <dc:creator />
      <dc:date>2017-03-30T08:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Partial sum with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1306000#M516177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;&lt;SPAN style="font-style: inherit;"&gt;[Category], [Area], [Time Version]&lt;/SPAN&gt;&amp;gt; Aggr(Sum(Value), AllDimensionsIncludingCategory))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 11:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-with-Aggr/m-p/1306000#M516177</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T11:12:45Z</dc:date>
    </item>
  </channel>
</rss>

