<?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 partial sums on pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-partial-sums-on-pivot-table/m-p/539776#M557297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi qlikview community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a proble with the partial sum on my pivot table. The partial sum is diffrent from the sum of rows in my chart. I display my expression above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( b.Year &amp;lt; SubField(vTODAY,'-',1),sum(b.NetSalesValue),if(b.Month &amp;lt; SubField(vTODAY,'-',2),sum(b.NetSalesValue),sum((aggr(sum(b.ForecastQty),b.CustomerClassDescription,b.ProductClassDescription,b.CustomerName,b.YearMonth) * Price) / ExchangeRate)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimensions are: b.CustomerClassDescription,b.ProductClassDescription,b.CustomerName,b.YearMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recon that this is because of the aggregation somehow . Any ideas ho to fix that???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jul 2013 09:30:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-04T09:30:33Z</dc:date>
    <item>
      <title>problem with partial sums on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-partial-sums-on-pivot-table/m-p/539776#M557297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi qlikview community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a proble with the partial sum on my pivot table. The partial sum is diffrent from the sum of rows in my chart. I display my expression above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( b.Year &amp;lt; SubField(vTODAY,'-',1),sum(b.NetSalesValue),if(b.Month &amp;lt; SubField(vTODAY,'-',2),sum(b.NetSalesValue),sum((aggr(sum(b.ForecastQty),b.CustomerClassDescription,b.ProductClassDescription,b.CustomerName,b.YearMonth) * Price) / ExchangeRate)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimensions are: b.CustomerClassDescription,b.ProductClassDescription,b.CustomerName,b.YearMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recon that this is because of the aggregation somehow . Any ideas ho to fix that???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 09:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-partial-sums-on-pivot-table/m-p/539776#M557297</guid>
      <dc:creator />
      <dc:date>2013-07-04T09:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem with partial sums on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-partial-sums-on-pivot-table/m-p/539777#M557298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get the same thing with my quantity expression too eventhough i dont use aggr....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( b.Year &amp;lt; SubField(vTODAY,'-',1),sum(b.QtyInvoiced),if(b.Month &amp;lt; SubField(vTODAY,'-',2),sum(b.QtyInvoiced),sum(b.ForecastQty)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone that can help....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 11:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-partial-sums-on-pivot-table/m-p/539777#M557298</guid>
      <dc:creator />
      <dc:date>2013-07-04T11:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem with partial sums on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-partial-sums-on-pivot-table/m-p/539778#M557299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I manage to reproduce the correct parial sums by altering my expressions similar to the above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if( b.Year &amp;lt; SubField(vTODAY,'-',1),b.QtyInvoiced,if(b.Month &amp;lt; SubField(vTODAY,'-',2),b.QtyInvoiced,b.ForecastQty)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 08:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-partial-sums-on-pivot-table/m-p/539778#M557299</guid>
      <dc:creator />
      <dc:date>2013-07-05T08:51:35Z</dc:date>
    </item>
  </channel>
</rss>

