<?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: rolling up totals in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/rolling-up-totals-in-pivot-table/m-p/773595#M274461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the correction..greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Mar 2015 18:41:53 GMT</pubDate>
    <dc:creator>nickm</dc:creator>
    <dc:date>2015-03-01T18:41:53Z</dc:date>
    <item>
      <title>rolling up totals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/rolling-up-totals-in-pivot-table/m-p/773593#M274459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue: Individual lines do not roll up with the correct total - see attached file column highlighted in gray.&lt;/P&gt;&lt;P&gt;Chart Type: Pivot Table&lt;/P&gt;&lt;P&gt;Background: We are taking the 2014 GP% calculation(2014_Margin_Dls/2014_Sales) as base starting point. There are specific product codes with 2 up charges (2 fields) which are added to the 2014 GP%. We then divide the 2014_GP% into the 2015 Budget to create the 2015_GP%_Goal. If there are no Sales for 2014 for a specific product code I multiply the 2015 Budget by .20 (20%). This is the issue, the individual lines are correct but the total rolls up incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation is in the column highlighted in gray (GP$ w Resin adj), any suggestions are greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx - Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 18:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rolling-up-totals-in-pivot-table/m-p/773593#M274459</guid>
      <dc:creator>nickm</dc:creator>
      <dc:date>2015-02-23T18:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: rolling up totals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/rolling-up-totals-in-pivot-table/m-p/773594#M274460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are seeing the "Sum of Rows in Pivot Table" problem. Search the help for "Advanced aggregation" and you'll find a link to a Sum of Rows example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The quick fix in your case is to enclose the entire expression in another sum(aggr()) like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;sum(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;aggr(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;EM&gt;...your current expresion...&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,Territory,Customer_ID,Product_Code)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example attached. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 15:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rolling-up-totals-in-pivot-table/m-p/773594#M274460</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-03-01T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: rolling up totals in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/rolling-up-totals-in-pivot-table/m-p/773595#M274461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the correction..greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2015 18:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rolling-up-totals-in-pivot-table/m-p/773595#M274461</guid>
      <dc:creator>nickm</dc:creator>
      <dc:date>2015-03-01T18:41:53Z</dc:date>
    </item>
  </channel>
</rss>

