<?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: Get Cumulative sum upto particular time selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904557#M999196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like 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/90986_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used two methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) RangeSum Method&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Above(Sum({&amp;lt;Sales_Date = {"$(='&amp;lt;=' &amp;amp; Date(Max(Sales_Date)))"}, MonthYear = , Month = , Year = &amp;gt;}Revenue), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Full Accumulation Method&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/90987_Capture.PNG" style="height: 493px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the application for your convenience&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&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>Fri, 26 Jun 2015 14:43:38 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-06-26T14:43:38Z</dc:date>
    <item>
      <title>Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904553#M999192</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 am new to qlikview and am trying to build a dashboard using it.&lt;/P&gt;&lt;P&gt;The data that I have is time-based data(like sales transaction data of over a few years).&lt;/P&gt;&lt;P&gt;I would like to show my cumulative sales revenue numbers uptil a selected time selection( year and month derived out of the sale time) but I am not sure as to how to get the cumulative sum from the 1st transaction upto that particular time selection.&lt;/P&gt;&lt;P&gt;Could anybody please help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 17:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904553#M999192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-25T17:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904554#M999193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you provide an example of what exactly you need done &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 18:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904554#M999193</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-06-25T18:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904555#M999194</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;It depends on how you are planning to show, like which chart you are going to use.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Normally if you want date filter than you can use variable and Calendar object. Post your app.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 18:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904555#M999194</guid>
      <dc:creator />
      <dc:date>2015-06-25T18:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904556#M999195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramon and Navdeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a snapshot of the sample data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 239px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="44"&gt;&lt;SPAN style="text-decoration: underline;"&gt;TxnID&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="67"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Sales_Date&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Revenue&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Cumulative_Revenue&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;2-Jan-10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;18-Apr-10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;20&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;19-Apr-10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;30&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;25-Apr-10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;40&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;9-Jul-10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;50&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;2-Jan-11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;60&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;18-Apr-11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;70&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;8&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;19-Apr-11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;80&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;&lt;SPAN style="text-decoration: underline;"&gt;9&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;&lt;SPAN style="text-decoration: underline;"&gt;25-Apr-11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;SPAN style="text-decoration: underline;"&gt;90&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;9-Jul-11&lt;/TD&gt;&lt;TD align="right"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;100&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 use the Sales_Date field to generate the year and the month.&lt;/P&gt;&lt;P&gt;Now the metric that I want to reflect is the cumulative sales number, but that is not actually in data( I want qlikview to calculate and then display it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem(as from my understanding) is that, on selecting a particular time(year/month or both), qlikview will display only the sum of revenues that belong to that particular time.&lt;/P&gt;&lt;P&gt;like on selecting Apr 2011, it will display 30, but what i want it to display is 90, which is the cumulative revenue sum, from the 1st TXn till the last TXn of the selected month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some function in qlikview that can help me with this kind of aggregation ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Tarang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 14:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904556#M999195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-26T14:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904557#M999196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like 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/90986_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used two methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) RangeSum Method&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=RangeSum(Above(Sum({&amp;lt;Sales_Date = {"$(='&amp;lt;=' &amp;amp; Date(Max(Sales_Date)))"}, MonthYear = , Month = , Year = &amp;gt;}Revenue), 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Full Accumulation Method&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/90987_Capture.PNG" style="height: 493px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the application for your convenience&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&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>Fri, 26 Jun 2015 14:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904557#M999196</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-26T14:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904558#M999197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your response. Yes, that's what I am kind of expecting, just that I am using Month and Year as separate columns.&lt;/P&gt;&lt;P&gt;However, can you please explain the rangesum formula ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am using text objects to display the aggregated number(the last Cumulative_Response entry for the selected time selection) and I cannot find the full accumulation option in the dialogue box. Could you also help me with this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 19:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904558#M999197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-01T19:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904559#M999198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get it in text box, you can use this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(Aggr(RangeSum(Above(Sum({&amp;lt;Sales_Date = {"$(='&amp;lt;=' &amp;amp; Date(Max(Sales_Date)))"}, MonthYear = , Month = , Year = &amp;gt;}Revenue), 0, RowNo())), Sales_Date), -Sales_Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I will answer you first question in a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 20:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904559#M999198</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T20:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904560#M999199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting error while applying this formula.&lt;/P&gt;&lt;P&gt;So, previous one was a general idea, below is the data I am actually using:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 641px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;ID&lt;/TD&gt;&lt;TD width="75"&gt; Subs_Start_Date&lt;/TD&gt;&lt;TD width="73"&gt;Subs_ Expiry_Date&lt;/TD&gt;&lt;TD width="64"&gt;Type&lt;/TD&gt;&lt;TD width="64"&gt;Sale&lt;/TD&gt;&lt;TD width="64"&gt;Tax&lt;/TD&gt;&lt;TD width="64"&gt;Expenses&lt;/TD&gt;&lt;TD width="87"&gt; Customer_ID&lt;/TD&gt;&lt;TD class="xl64" width="86"&gt;Score&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2015&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD align="right"&gt;23154&lt;/TD&gt;&lt;TD align="right"&gt;7010&lt;/TD&gt;&lt;TD align="right"&gt;926.16&lt;/TD&gt;&lt;TD&gt;C1&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;4630.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2015&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD align="right"&gt;101834&lt;/TD&gt;&lt;TD align="right"&gt;27070&lt;/TD&gt;&lt;TD align="right"&gt;8146.72&lt;/TD&gt;&lt;TD&gt;C2&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;40733.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2015&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD align="right"&gt;27990&lt;/TD&gt;&lt;TD align="right"&gt;2153&lt;/TD&gt;&lt;TD align="right"&gt;1119.6&lt;/TD&gt;&lt;TD&gt;C3&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;5598&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/1/2015&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD align="right"&gt;128930&lt;/TD&gt;&lt;TD align="right"&gt;30129&lt;/TD&gt;&lt;TD align="right"&gt;9025.1&lt;/TD&gt;&lt;TD&gt;C4&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;45125.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/2/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1/2/2015&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD align="right"&gt;32595&lt;/TD&gt;&lt;TD align="right"&gt;16110&lt;/TD&gt;&lt;TD align="right"&gt;1629.75&lt;/TD&gt;&lt;TD&gt;C5&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8148.75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/23/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/23/2015&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD align="right"&gt;456879&lt;/TD&gt;&lt;TD align="right"&gt;216719&lt;/TD&gt;&lt;TD align="right"&gt;13706.37&lt;/TD&gt;&lt;TD&gt;C1&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;4630.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/23/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/23/2015&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD align="right"&gt;267358&lt;/TD&gt;&lt;TD align="right"&gt;13253&lt;/TD&gt;&lt;TD align="right"&gt;18715.06&lt;/TD&gt;&lt;TD&gt;C2&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;40733.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/24/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/24/2015&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD align="right"&gt;231944&lt;/TD&gt;&lt;TD align="right"&gt;21607&lt;/TD&gt;&lt;TD align="right"&gt;18555.52&lt;/TD&gt;&lt;TD&gt;C3&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;5598&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;9&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/24/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/24/2015&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD align="right"&gt;359420&lt;/TD&gt;&lt;TD align="right"&gt;95611&lt;/TD&gt;&lt;TD align="right"&gt;35942&lt;/TD&gt;&lt;TD&gt;C4&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;45125.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/24/2014&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4/24/2015&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD align="right"&gt;153443&lt;/TD&gt;&lt;TD align="right"&gt;8615&lt;/TD&gt;&lt;TD align="right"&gt;3068.86&lt;/TD&gt;&lt;TD&gt;C5&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;8148.75&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are multiple purchases for a customer on different dates during the year. I am trying to calculate to net score for the customers upto the current time selection(or for all data, if nothing is selected). But in my data the score data is repeated (notice repeated scores for each customer_id) and I have to use score value of each customer only single time to calculate the total.&lt;/P&gt;&lt;P&gt;I am using a text box to display the number. The formula that I am using is&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; =Num(Sum(aggr(Min([Score]),[Customer_ID])),'$ #,##0.00 ') &lt;/P&gt;&lt;P&gt;&amp;nbsp; (using min/max/avg all will yield the same result).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when I replace the "revenue" and "Sales_Date" with the above formula and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Subs_ Expiry_Date&lt;/SPAN&gt; respectively, I simply get a "-" in the text box with no error or explanation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the right thing and would it work while just having to replace the text in the above fashion or do I need some different approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tarang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 21:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904560#M999199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-01T21:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904561#M999200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will look at it once I reach home.   &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 21:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904561#M999200</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T21:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904562#M999201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have few questions here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Are we calculating the Score Field in the script or is that given in the database?&lt;/P&gt;&lt;P&gt;2) What is the output you are expecting to see? Tell me the numerical values of what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&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 Jul 2015 22:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904562#M999201</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-01T22:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904563#M999202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The score field is given in the data posted above,(in the database) you would have to use the horizontal scroll bar for that. What we have to calculate is the total sum of scores for each customer(excluding the duplicated values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output that I am expecting to see here is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;4630.8 + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;40733.6 + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;5598 + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;45125.5 + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;8148.75 = 104236.65&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904563#M999202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-02T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904564#M999203</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;=Num(Sum(Aggr(Avg([Score]),[Customer_ID])),'$ #,##0.00')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&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/91675_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 13:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904564#M999203</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-02T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904565#M999204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Num(Sum(aggr(Min([Score]),[Customer_ID])),'$ #,##0.00 ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the one that I already tried, and it work( works for avg/min/max functions because all the score values for a customer are same), but along with it, I want cumulative aggregation of score upto a particular selected time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dates are a bit skewed in the previous data set, so posting a bit refined one below.&lt;/P&gt;&lt;P&gt;Now for the dataset posted below, if I select the year as 2014 and month as Mar, so scores(single and unique) for each customer should get summed upto that time-point and here it would be-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45125.5 + 40733.6 + 5598 = 91457.1 (here customers C1, C2 and C3 are selected and each of their scores get summed up only single time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID Subs_Start_Date Subs_ Expiry_Date Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sale&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tax&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expenses&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Score&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/1/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/1/2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23154&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 926.16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45125.5&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/20/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/20/2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 101834&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27070&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8146.72&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40733.6&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/13/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/13/2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27990&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2153&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1119.6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5598&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/16/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/16/2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128930&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30129&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9025.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45125.5&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/20/2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/20/2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32595&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16110&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1629.75&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8148.75&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 14:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904565#M999204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-02T14:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904566#M999205</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;=Num(Sum({&amp;lt;Month = {"$(='&amp;lt;=' &amp;amp; Max(Month))"}, Year = {"$(=Max(Year))"}&amp;gt;} Aggr(Avg({&amp;lt;Month = {"$(='&amp;lt;=' &amp;amp; Max(Month))"}, Year = {"$(=Max(Year))"}&amp;gt;}[Score]),[Customer_ID])),'$ #,##0.00')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&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/91696_Capture.PNG" style="height: auto;" /&gt; &lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/91700_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/91701_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/91702_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is what you wanted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also attaching the qvw for your reference.&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>Thu, 02 Jul 2015 15:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904566#M999205</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-02T15:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904567#M999206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes It works.! &lt;BR /&gt;Thank you very much for your help. &lt;BR /&gt;Just could you please explain the formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;BR /&gt;Tarang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 16:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904567#M999206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-02T16:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904568#M999207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Ignoring this part because its self-explantory&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;//Once I get an imaginary table formed by the Aggregate function, I am summing all the observations where the score is again greater than or equal to max month for the max year&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Month = {"$(='&amp;lt;=' &amp;amp; Max(Month))"}, Year = {"$(=Max(Year))"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;// Aggregating over the Customer_ID because there is possibility of repetition of Score&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;// Averaging the Score for greater than or equal to max month for the max year only (this may change based on your requirement&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg({&amp;lt;Month = {"$(='&amp;lt;=' &amp;amp; Max(Month))"}, Year = {"$(=Max(Year))"}&amp;gt;}[Score]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;//Ignoring this part because its self-explantory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Customer_ID])),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;//Ignoring this part because its self-explantory&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'$ #,##0.00')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the above explanation helps? If not then make a straight table with Customer_ID and use the expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg({&amp;lt;Month = {"$(='&amp;lt;=' &amp;amp; Max(Month))"}, Year = {"$(=Max(Year))"}&amp;gt;}[Score])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table is your imaginary table and then select Total Mode as Sum of Rows and you will see that this total will always match the total from the expression I gave you earlier because the two things are equal. Aggr creates an imaginary table (which looks like straight table) and the Sum and the set analysis statement after Aggr is the same thing as Total Mode as Sum of Rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&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>Thu, 02 Jul 2015 16:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904568#M999207</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-02T16:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904569#M999208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, It definately does. Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So just to be clear, $ sign just replaces the text inside the () with the respective generated expression,&amp;nbsp; like in the case of expression &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Avg({&amp;lt;Month = {"$(='&amp;lt;=' &amp;amp; Max(Month))"}, Year = {"$(=Max(Year))"}&amp;gt;}[Score])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;effective final replaced expression would be Avg({Month=(&amp;lt;=December), Year=(2014)}[Score]).&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If that assumption is right and if it would had been multi-year data(data above is only for 2014), then i guess Year expression would also had been&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year= {"$(='&amp;lt;=' &amp;amp; Max(Year))"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;is my understanding correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tarang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 17:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904569#M999208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-02T17:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904570#M999209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup what you just said is absolutely right. Since we had only one year data, I was not sure if want to sum just one selected year or all previous years. But you got it right that if you need all years you will need &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year= {"$(='&amp;lt;=' &amp;amp; Max(Year))"} &lt;/STRONG&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 17:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904570#M999209</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-02T17:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904571#M999210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your help.! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 17:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904571#M999210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-02T17:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cumulative sum upto particular time selection</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904572#M999211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad I was able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 17:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Cumulative-sum-upto-particular-time-selection/m-p/904572#M999211</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-02T17:16:30Z</dc:date>
    </item>
  </channel>
</rss>

