<?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: Cumulative Sum based on preceding rows on a grid? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-based-on-preceding-rows-on-a-grid/m-p/984169#M644776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Rangesum( Above( Sum(costs), 0, RowNo() ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2015 16:42:06 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-11-25T16:42:06Z</dc:date>
    <item>
      <title>Cumulative Sum based on preceding rows on a grid?</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-based-on-preceding-rows-on-a-grid/m-p/984168#M644775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, so I have this grid that has two fields, one is a number of 'costs' per a 'department' lets say, and then another one for the cumulative costs as the department costs are listed under it (proceeding). Is there a script that can calculate the cumulative sum in such a way as to say in the first row take the cost, then in the second row, add both, then add all three in the third row? here's a pic for an idea!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum cum full will have .1647 on the first row, then the sum of (.1674+.2222) on the second row and so on!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107113_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Kurt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 16:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-based-on-preceding-rows-on-a-grid/m-p/984168#M644775</guid>
      <dc:creator />
      <dc:date>2015-11-25T16:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum based on preceding rows on a grid?</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-based-on-preceding-rows-on-a-grid/m-p/984169#M644776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Rangesum( Above( Sum(costs), 0, RowNo() ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 16:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-based-on-preceding-rows-on-a-grid/m-p/984169#M644776</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-25T16:42:06Z</dc:date>
    </item>
  </channel>
</rss>

