<?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: Accumulation Option disabled in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulation-Option-disabled-in-Pivot-Table/m-p/1679520#M449963</link>
    <description>&lt;P&gt;Just an update, I've managed to get the totals to move across, using this code here that I found on the forum. I've put this into an expression within my pivot table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=RangeSum(Alt(Before((((sum({&amp;lt;[SUB CATEGORY ID] = {'10'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'20'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;BR /&gt;- (sum({&amp;lt;[SUB CATEGORY ID] = {'30'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;BR /&gt;+ ((sum({&amp;lt;[SUB CATEGORY ID] = {'40'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'50'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'60'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'70'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'80'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'90'}&amp;gt;} [GL MOVEMENT BASE]) *-1))),0,))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, my output now looks like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 1.PNG" style="width: 975px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29137iC17DE9FCC3EE22A9/image-dimensions/975x340?v=v2" width="975" height="340" role="button" title="Screenshot 1.PNG" alt="Screenshot 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, as you can see, it's showing 0 for April where I would have expected to see 1000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the following months, it hasn't added on the previous month, it's just taken the previous month value. I.e. the value of 1000 for April has been put into May where I would have expected to see 4000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had to change the figures and hide the data due to confidentiality and sensitivity of data.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 14:50:53 GMT</pubDate>
    <dc:creator>Ahmed_Turnaround</dc:creator>
    <dc:date>2020-02-26T14:50:53Z</dc:date>
    <item>
      <title>Accumulation Option disabled in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-Option-disabled-in-Pivot-Table/m-p/1679387#M449951</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please explain why Accumulation Option is disabled in a Pivot Table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29117i387ACB4115284FCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 1.PNG" alt="Screenshot 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please assist in getting accumulation working? I need to create a running total for profit (loss) within a month in a P&amp;amp;L sheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The calculation is as follows to work it out for the current month:&lt;/P&gt;&lt;P&gt;=(((sum({&amp;lt;[SUB CATEGORY ID] = {'10'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'20'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;BR /&gt;- (sum({&amp;lt;[SUB CATEGORY ID] = {'30'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;BR /&gt;+ ((sum({&amp;lt;[SUB CATEGORY ID] = {'40'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'50'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'60'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'70'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'80'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'90'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;/P&gt;&lt;P&gt;Let's say this total is 2000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next month, should be the following calculation:&lt;/P&gt;&lt;P&gt;=(((sum({&amp;lt;[SUB CATEGORY ID] = {'10'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'20'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;BR /&gt;- (sum({&amp;lt;[SUB CATEGORY ID] = {'30'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;BR /&gt;+ ((sum({&amp;lt;[SUB CATEGORY ID] = {'40'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'50'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'60'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'70'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'80'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'90'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;/P&gt;&lt;P&gt;Let's say this total is 3000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;+ the calculation of the previous month (2000), so the total that should show in the table would be 5000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sense?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for any help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 10:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-Option-disabled-in-Pivot-Table/m-p/1679387#M449951</guid>
      <dc:creator>Ahmed_Turnaround</dc:creator>
      <dc:date>2020-02-26T10:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation Option disabled in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-Option-disabled-in-Pivot-Table/m-p/1679520#M449963</link>
      <description>&lt;P&gt;Just an update, I've managed to get the totals to move across, using this code here that I found on the forum. I've put this into an expression within my pivot table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=RangeSum(Alt(Before((((sum({&amp;lt;[SUB CATEGORY ID] = {'10'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'20'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;BR /&gt;- (sum({&amp;lt;[SUB CATEGORY ID] = {'30'}&amp;gt;} [GL MOVEMENT BASE]) *-1))&lt;BR /&gt;+ ((sum({&amp;lt;[SUB CATEGORY ID] = {'40'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'50'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'60'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'70'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'80'}&amp;gt;} [GL MOVEMENT BASE]) *-1)&lt;BR /&gt;+ (sum({&amp;lt;[SUB CATEGORY ID] = {'90'}&amp;gt;} [GL MOVEMENT BASE]) *-1))),0,))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, my output now looks like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 1.PNG" style="width: 975px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29137iC17DE9FCC3EE22A9/image-dimensions/975x340?v=v2" width="975" height="340" role="button" title="Screenshot 1.PNG" alt="Screenshot 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, as you can see, it's showing 0 for April where I would have expected to see 1000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the following months, it hasn't added on the previous month, it's just taken the previous month value. I.e. the value of 1000 for April has been put into May where I would have expected to see 4000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had to change the figures and hide the data due to confidentiality and sensitivity of data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 14:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-Option-disabled-in-Pivot-Table/m-p/1679520#M449963</guid>
      <dc:creator>Ahmed_Turnaround</dc:creator>
      <dc:date>2020-02-26T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulation Option disabled in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulation-Option-disabled-in-Pivot-Table/m-p/1689584#M450546</link>
      <description>&lt;P&gt;Check the following Design Blog post to see if that helps you get what you need:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Accumulations/ba-p/1466581" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Accumulations/ba-p/1466581&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 17:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulation-Option-disabled-in-Pivot-Table/m-p/1689584#M450546</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-31T17:54:39Z</dc:date>
    </item>
  </channel>
</rss>

