<?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: Accumulate Partial Sum on Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269504#M399505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;P&gt;I mark your answer as correct because your idea helped me to solve the problem.&lt;/P&gt;&lt;P&gt;But I like more Pick function than not IF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2017 02:33:51 GMT</pubDate>
    <dc:creator>pljsoftware</dc:creator>
    <dc:date>2017-02-01T02:33:51Z</dc:date>
    <item>
      <title>Accumulate Partial Sum on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269499#M399500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table and I try to obtain a progressive value on &lt;EM&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/EM&gt; rows as explained in the image.&lt;/P&gt;&lt;P&gt;I attached a *.qvw&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Accumulate Partial Sum on Pivot Table.png" class="jive-image image-1" src="/legacyfs/online/151513_Accumulate Partial Sum on Pivot Table.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those are a simple data values.&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14859089931505211 jive_text_macro" jivemacro_uid="_14859089931505211"&gt;
&lt;P&gt;T:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, Month, Group, Value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 1, A, 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 1, B, 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 1, C, 3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 1, D, 4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 2, A, 5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 2, B, 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 2, C, 7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 2, D, 8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 3, A, 9&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 3, B, 10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 3, C, 11&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 3, D, 12&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 4, A, 13&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 4, B, 14&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 4, C, 15&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017, 4, D, 16&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 00:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269499#M399500</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2017-02-01T00:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Partial Sum on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269500#M399501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Dimensionality(),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Value),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(TOTAL Sum(Value), 0, RowNo(TOTAL))), Year, Month),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(TOTAL Sum(Value), 0, RowNo(TOTAL))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151523_Capture.PNG" style="height: 241px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 01:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269500#M399501</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-01T01:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Partial Sum on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269501#M399502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I want to have the value in column 1 for A, B, C, D and the cumulative value for Total.&lt;/P&gt;&lt;P&gt;The correct values will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 290px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="420" rowspan="21" style="border-bottom: .5pt solid silver;" width="98"&gt;2017&lt;/TD&gt;&lt;TD class="xl67" rowspan="5" style="border-bottom: .5pt solid silver;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;B&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;C&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;D&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style="color: #ff0000;"&gt;Total &lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style="color: #ff0000;"&gt;10&lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="100" rowspan="5" style="border-bottom: .5pt solid silver; border-top: none;" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;B&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;C&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;D&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style="color: #ff0000;"&gt;Total &lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style="color: #ff0000;"&gt;36&lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="100" rowspan="5" style="border-bottom: .5pt solid silver; border-top: none;" width="64"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;B&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;C&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;D&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;Total &lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;78&lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="100" rowspan="5" style="border-bottom: .5pt solid silver; border-top: none;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;B&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;C&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none; border-left: none;" width="64"&gt;D&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;" width="64"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;Total &lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;136&lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style="color: #ff0000;"&gt;Total &lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;" width="64"&gt;&lt;H3&gt;&lt;STRONG style="color: #ff0000;"&gt;136&lt;/STRONG&gt;&lt;/H3&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269501#M399502</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2017-02-01T02:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Partial Sum on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269502#M399503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151524_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() &amp;lt;&amp;gt; 2, Sum(Value),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(TOTAL Sum(Value), 0, RowNo(TOTAL))), Year, Month))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269502#M399503</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-01T02:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Partial Sum on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269503#M399504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(Dimensionality(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum(Value),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(RangeSum(Above(TOTAL Sum(Value), 0, RowNo(TOTAL))), Year, Month),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum(Value)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny for your help. I have change only the 3th expression from &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeSum(Above(TOTAL Sum(Value), 0, RowNo(TOTAL)))&lt;/STRONG&gt; to &lt;STRONG&gt;Sum(Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269503#M399504</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2017-02-01T02:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Partial Sum on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269504#M399505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;P&gt;I mark your answer as correct because your idea helped me to solve the problem.&lt;/P&gt;&lt;P&gt;But I like more Pick function than not IF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Luca Jonathan Panetta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269504#M399505</guid>
      <dc:creator>pljsoftware</dc:creator>
      <dc:date>2017-02-01T02:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulate Partial Sum on Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269505#M399506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you like Pick more, you can always mark your own response as correct. You can mark my responses as Helpful if you want (you don't have to)&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-Partial-Sum-on-Pivot-Table/m-p/1269505#M399506</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-01T02:36:05Z</dc:date>
    </item>
  </channel>
</rss>

