<?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 Partial sum on Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Partial-sum-on-Pivot/m-p/464353#M173442</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;Is there any way to achieve the following in qlikview. The problem here is, it requires one calculation logic for individual values and another when the partial sums are to be shown. The values for R and O are directly available per Desc, per (A/B/C) . P is to be calcualated as O * (1-R) and Q as O-P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for totals, O,P and Q are calculated by adding only the rows above it. But for R, it is to be calcualated as Q/P. Partial sum in pivot can work fine for O,P and Q&amp;nbsp; but not for R.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/314708/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly received..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the sample output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2013 18:07:14 GMT</pubDate>
    <dc:creator>abeyphilip</dc:creator>
    <dc:date>2013-02-22T18:07:14Z</dc:date>
    <item>
      <title>Partial sum on Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-on-Pivot/m-p/464353#M173442</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;Is there any way to achieve the following in qlikview. The problem here is, it requires one calculation logic for individual values and another when the partial sums are to be shown. The values for R and O are directly available per Desc, per (A/B/C) . P is to be calcualated as O * (1-R) and Q as O-P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for totals, O,P and Q are calculated by adding only the rows above it. But for R, it is to be calcualated as Q/P. Partial sum in pivot can work fine for O,P and Q&amp;nbsp; but not for R.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/message/314708/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly received..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the sample output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 18:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-on-Pivot/m-p/464353#M173442</guid>
      <dc:creator>abeyphilip</dc:creator>
      <dc:date>2013-02-22T18:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Partial sum on Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-on-Pivot/m-p/464354#M173443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a dimentionality() function that can be used to determine the level of calculation.&lt;/P&gt;&lt;P&gt;You can use something like this:&lt;/P&gt;&lt;P&gt;=if(dimentionality() = &lt;STRONG&gt;2&lt;/STRONG&gt;, R, Q/P)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 19:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-on-Pivot/m-p/464354#M173443</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2013-02-22T19:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Partial sum on Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-sum-on-Pivot/m-p/464355#M173444</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;Brilliant. Worked perfectly. Thanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My actual model was different and had to consider other things as well, but key was using dimensionlaity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2013 10:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-sum-on-Pivot/m-p/464355#M173444</guid>
      <dc:creator>abeyphilip</dc:creator>
      <dc:date>2013-02-23T10:31:30Z</dc:date>
    </item>
  </channel>
</rss>

