<?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 in Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645959#M1079632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for the fast replies. I have a problem opening the files posted with my QlikView Personal Edition. Would you be so kind to show me the code you wrote for the sheet objects? Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the TOTAL() qualifier, but I was not able to make it work. Perhaps I also needed to mention that the "Present Value of Cashflows" column is a calculated column in a straight table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 04:25:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-10T04:25:41Z</dc:date>
    <item>
      <title>Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645956#M1079629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like some help on my problem below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have a variable "vSlider" that the end user can specify from 1 to 10 on the slider sheet object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I have a table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Timing&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PV of Cashflows&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;800&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I'm looking for an expression that can calculate the cumulative sum of "PV of Cashflows" from row 1 to "vSlider." I need it in a single expression because i will do further calculations fromthere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when vSlider = 4,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Timing&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PV of Cashflows&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Cumulative Sum&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;400&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my question is clear. I would really appreciate any help. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 02:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645956#M1079629</guid>
      <dc:creator />
      <dc:date>2014-07-10T02:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645957#M1079630</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;Check attached file for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 03:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645957#M1079630</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-07-10T03:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645958#M1079631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attachment&lt;/P&gt;&lt;P&gt;&lt;IMG alt="cumm.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62118_cumm.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 03:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645958#M1079631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-10T03:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645959#M1079632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for the fast replies. I have a problem opening the files posted with my QlikView Personal Edition. Would you be so kind to show me the code you wrote for the sheet objects? Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the TOTAL() qualifier, but I was not able to make it work. Perhaps I also needed to mention that the "Present Value of Cashflows" column is a calculated column in a straight table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 04:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645959#M1079632</guid>
      <dc:creator />
      <dc:date>2014-07-10T04:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645960#M1079633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See below script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension - Timing&lt;/P&gt;&lt;P&gt;Expression1 (PV of Cashflows) - &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sum ({$&amp;lt;Timing={"&amp;lt;=$(vSlider)"}&amp;gt;} [PV of Cashflows])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expression2 (Cumulative Sum) - Sum ({$&amp;lt;Timing={"&amp;lt;=$(vSlider)"}&amp;gt;} &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; [PV of Cashflows])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 05:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645960#M1079633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-10T05:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645961#M1079634</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;Thanks for your reply. However, I still cannot get it to work. I understand&lt;/P&gt;&lt;P&gt;what youare doing with that script. My problem is that even when I enter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"=TOTAL[PV of Cashflows]" or sum(PV of Cashflows)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;, it does not work. It will only work when I enter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;="PV of Cashflows"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the reason to this is because "PV of Cashflows" is a calculated&lt;/P&gt;&lt;P&gt;column, and not a column loaded from a data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shintaro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, Jul 10, 2014 at 2:09 PM, Satyadev Jaiswal &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 05:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645961#M1079634</guid>
      <dc:creator />
      <dc:date>2014-07-10T05:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645962#M1079635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can't use aggregated function with calculated column. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"PV of Cashflows"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; is calculated column, you can use the same calculation for C&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;umulative Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;. For example, I have "Actual Sales" column with Sum(Sales) calculation so my cumulative column will be &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sum(TOTAL Sales) not Sum([Actual Sales]).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If you still facing issue, post your logic here. I will try to simplify it. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 05:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645962#M1079635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-10T05:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645963#M1079636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum( Total [PV of Cashflows])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum( Total &amp;lt;Dimensionfield &amp;gt;[PV of Cashflows])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum( Total &amp;lt;Dimensionfield1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Dimensionfield&lt;/SPAN&gt;2 &amp;gt;[PV of Cashflows])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 06:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645963#M1079636</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-07-10T06:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645964#M1079637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help. I have 2 columns of data "Timing" and&lt;/P&gt;&lt;P&gt;"AllMinuses" both 50 rows in length. I have 9 calculated columnns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am trying to get the TOTAL of "PresentValueOfSavingsOnRoyalty" into&lt;/P&gt;&lt;P&gt;"TotalPresentValueofSavingsonRoyalty."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aside from vSlider1, I also have vRoyaltyRate and vDiscountRate as inputs&lt;/P&gt;&lt;P&gt;from the end user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calculated Columns Logic:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BaseOperatingRevenue&lt;/P&gt;&lt;P&gt;=(OperatingRevenue + AllMinuses)*PeriodFactor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PeriodFactor&lt;/P&gt;&lt;P&gt;=if(below(PeriodReference) = 0 and PeriodReference = 1,&lt;/P&gt;&lt;P&gt;below(Timing)-PeriodsRemaining, TimingDiff*PeriodReference)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PeriodReference&lt;/P&gt;&lt;P&gt;if(sum(vSlider1 - Timing)&amp;gt;=0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PeriodRemianing&lt;/P&gt;&lt;P&gt;=if(PeriodReference &amp;lt;&amp;lt; 1, rangesum(Above(sum(TimingDiff),0,RowNo())) , 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SavingsOnRoyalty&lt;/P&gt;&lt;P&gt;=PeriodReference&lt;STRONG&gt;(1-vTaxRate)&lt;/STRONG&gt;BaseOperatingRevenue*vRoyaltyRate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DiscountPeriod&lt;/P&gt;&lt;P&gt;=sum(DiscountPeriod)*PeriodReference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DiscountFactor&lt;/P&gt;&lt;P&gt;=Pow((1+vDiscountRate),-1&lt;STRONG&gt;DiscountPeriod)&lt;/STRONG&gt;PeriodReference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PresentValueOfSavingsOnRoyalty&lt;/P&gt;&lt;P&gt;=DiscountFactor*SavingsOnRoyalty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TotalPresentValueofSavingsonRoyalty&lt;/P&gt;&lt;P&gt;=Sum(TOTAL PresentValueOfSavingsOnRoyalty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, Jul 10, 2014 at 2:57 PM, Satyadev Jaiswal &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 07:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645964#M1079637</guid>
      <dc:creator />
      <dc:date>2014-07-10T07:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645965#M1079638</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;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Try below, I am not sure if it will work. Just multiplying &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SavingsOnRoyalty&lt;/SPAN&gt; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DiscountFactor&lt;/SPAN&gt; logic together with TOTAL element.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum (TOTAL (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Pow((1+vDiscountRate),-1&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DiscountPeriod)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;PeriodReference&lt;/SPAN&gt;)*(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;PeriodReference&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(1-vTaxRate)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;BaseOperatingRevenue*vRoyaltyRate&lt;/SPAN&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 07:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Straight-Table/m-p/645965#M1079638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-10T07:46:32Z</dc:date>
    </item>
  </channel>
</rss>

