<?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 Incremental sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231136#M82915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm looking for a formula that can do this kind of sum. I've called it "incremental sum" but I don't know the proper name.&lt;/P&gt;&lt;P&gt;Value Sum&lt;BR /&gt;------------&lt;BR /&gt;10 10&lt;BR /&gt;8 18 (=10+8)&lt;BR /&gt;2 20 (=18+2)&lt;BR /&gt;5 25 (=20+5)&lt;/P&gt;&lt;P&gt;Since I don't know how it is called I can't look for it easily on the web. I've tried also with above() but it doesn't work (I'm definitely doing something wrong).&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jul 2010 16:37:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-22T16:37:25Z</dc:date>
    <item>
      <title>Incremental sum</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231136#M82915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm looking for a formula that can do this kind of sum. I've called it "incremental sum" but I don't know the proper name.&lt;/P&gt;&lt;P&gt;Value Sum&lt;BR /&gt;------------&lt;BR /&gt;10 10&lt;BR /&gt;8 18 (=10+8)&lt;BR /&gt;2 20 (=18+2)&lt;BR /&gt;5 25 (=20+5)&lt;/P&gt;&lt;P&gt;Since I don't know how it is called I can't look for it easily on the web. I've tried also with above() but it doesn't work (I'm definitely doing something wrong).&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 16:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231136#M82915</guid>
      <dc:creator />
      <dc:date>2010-07-22T16:37:25Z</dc:date>
    </item>
    <item>
      <title>Incremental sum</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231137#M82916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's worth telling you why I need this, because, who knows, maybe there's a better solution!&lt;BR /&gt;Having a table with customers and relative sales, descending order, I need to give a specific code for those who make the 80% of the total sales, another for those who make the 15% and another to the others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 16:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231137#M82916</guid>
      <dc:creator />
      <dc:date>2010-07-22T16:39:27Z</dc:date>
    </item>
    <item>
      <title>Incremental sum</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231138#M82917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mate,&lt;/P&gt;&lt;P&gt;you can use full accumulation in expression tab.&lt;/P&gt;&lt;P&gt;try this !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naren.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 13:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231138#M82917</guid>
      <dc:creator />
      <dc:date>2010-07-23T13:07:13Z</dc:date>
    </item>
    <item>
      <title>Incremental sum</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231139#M82918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you NarenB4U for your answer: you also gave me the English name of the kind of sum I'm looking for!&lt;/P&gt;&lt;P&gt;Even if I tried your solution, though, it works only with one dimension. Anyhow, I looked around (thanks again to the English proper name) and I found this working formula: rangesum(above(total thisColumn), sum(Sales)).&lt;/P&gt;&lt;P&gt;Everything works, but I can't order the table for the Sales value when I have this formula activated. Any idea how can I fix this, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 14:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231139#M82918</guid>
      <dc:creator />
      <dc:date>2010-07-23T14:20:04Z</dc:date>
    </item>
    <item>
      <title>Incremental sum</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231140#M82919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;temp_Data:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Value&lt;BR /&gt; 10&lt;BR /&gt; 18&lt;BR /&gt; 23&lt;BR /&gt; 45&lt;BR /&gt; 56&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;load Value,&lt;BR /&gt;if( ISNUll(peek(Value)),Value,Value+peek(SUM)) as SUM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Resident temp_Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop temp_Data;&lt;/P&gt;&lt;P&gt;I tried the above code and it is working fine. I ain't sure, this is what you are looking for..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 14:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231140#M82919</guid>
      <dc:creator />
      <dc:date>2010-07-23T14:51:44Z</dc:date>
    </item>
    <item>
      <title>Incremental sum</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231141#M82920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Naive, but I can't adopt your solution since I need this table to be calculated on the fly according to the filters I set. The script reported is perfect, but it has this bad drawback...&lt;/P&gt;&lt;P&gt;Thank you anyway for your support!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 15:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231141#M82920</guid>
      <dc:creator />
      <dc:date>2010-07-23T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Incremental sum</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231142#M82921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;X1:&lt;BR /&gt;Load distinct&lt;BR /&gt; Trim(Material_Code) as Material,&lt;BR /&gt; Trim(Plant_Code) as Plant,&lt;BR /&gt; Trim(Storage_Location) as Storage_Location,&lt;BR /&gt; S_Date ,&lt;BR /&gt; Receipt_Count,&lt;BR /&gt; Issue_Count,&lt;BR /&gt; Value_Issued_From_Valuated_Stock as Issued_Value,&lt;BR /&gt; Value_Received_Into_Valuated_Stock as Received_Value&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;$(ModelledQVD)Stock_Master.qvd(qvd) ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;X:&lt;BR /&gt;Load distinct&lt;BR /&gt; Material,&lt;BR /&gt; Plant,&lt;BR /&gt; S_Date ,&lt;BR /&gt; SUM(Received_Value - Issued_Value) as Value&lt;BR /&gt;&lt;BR /&gt;resident X1 group by Plant, Material,S_Date ;&lt;BR /&gt;Drop table X1;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Y:&lt;BR /&gt;load *,recno() as d resident X order by Plant,Material,S_Date;&lt;BR /&gt;drop table X;&lt;/P&gt;&lt;P&gt;//exit script;&lt;BR /&gt;Daily_Stock_Value:&lt;BR /&gt;Load&lt;BR /&gt; Material,&lt;BR /&gt; Plant,&lt;BR /&gt; S_Date,&lt;BR /&gt; Value,&lt;BR /&gt; if (peek(Material)=Material and peek(Plant)=Plant ,peek(Value_Output)+Value,Value) as Value_Output&lt;BR /&gt;resident Y order by d;&lt;BR /&gt;drop field d;&lt;BR /&gt;drop table Y;&lt;BR /&gt;Store Daily_Stock_Value into $(ModelledQVD)Daily_Stock_Value.qvd;&lt;BR /&gt;drop table Daily_Stock_Value;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 15:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-sum/m-p/231142#M82921</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-07-23T15:46:01Z</dc:date>
    </item>
  </channel>
</rss>

