<?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: Issue with cumulative Sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304566#M406210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I gave you the wrong table code -&amp;gt; Forgot to add Order By statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SortTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Distinct Period,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; AutoNumber(Period) as Sort&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Order By Period;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2017 15:36:11 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-31T15:36:11Z</dc:date>
    <item>
      <title>Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304548#M406192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having an issue while calculating the cumulative sum.&lt;/P&gt;&lt;P&gt;I was able to create the &lt;SPAN style="font-size: 13.3333px;"&gt;cumulative% and the results are as expected when there is no selection made.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;however, on any selection the cumulative&amp;nbsp; value changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the issue may have occurred since I use a 'Before' function in the calculation. As the number of records comes down when a selection is made.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In my attached example, I have built a chart with actual and &lt;/SPAN&gt;cumulative.&lt;/P&gt;&lt;P&gt;wanted to make a selection on the group, and that should not be the cumulative value, but filter the resources associated with the group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please share your thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 15:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304548#M406192</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-29T15:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304549#M406193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In my attached example, I have built a chart with actual and &lt;/SPAN&gt;cumulative.&lt;/P&gt;
&lt;P&gt;wanted to make a selection on the group, and that should not be the cumulative value, but filter the resources associated with the group.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What does this mean? What is the desired output based on selections and when nothing is selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 15:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304549#M406193</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-29T15:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304550#M406194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer the attached.&lt;/P&gt;&lt;P&gt;I would like to retain the Cumulative sum that was initially derived, even when a selection is made on the column 'Group'. But Currently, the Cumulative sum changes as I make a selection on the column Group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Issue.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158153_Issue.jpg" style="height: 291px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 17:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304550#M406194</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-29T17:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304551#M406195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 17:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304551#M406195</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-29T17:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304552#M406196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!! that worked as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share your thoughts on the below -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If a resource does not have an entry for a month. the expression you suggested retuns null, but it should be showing up the cumulative value&lt;/P&gt;&lt;P&gt;Note: I removed the record with period '01/03/2017' for Resource5, from the data file shared initially&lt;/P&gt;&lt;P&gt;2. the total does not populate for cumulative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="issue 2.jpg" class="jive-image image-1" src="/legacyfs/online/158241_issue 2.jpg" style="width: 620px; height: 367px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 08:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304552#M406196</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-30T08:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304553#M406197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Would you be able to share a sample where you modified the data to have null?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What do you expect a total of cumulative to be? the last value or something else? &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, 30 Mar 2017 08:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304553#M406197</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304554#M406198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I have uploaded the new qvw to the discussion. please check.&lt;/P&gt;&lt;P&gt;2. Cumuliative of all the resources by Month (the same way on how the total of actual is calualted)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 09:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304554#M406198</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-30T09:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304555#M406199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the solution to your first issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(rangesum(Before(sum({&amp;lt;[Task Type]={"project"}&amp;gt;}[Hours Billed]),0,RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/(rangesum(Before(sum([Hours Billed]),0,RowNo())))*&lt;SPAN style="color: #ff0000;"&gt;avg(TOTAL &amp;lt;[Resource Name]&amp;gt;1)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I am still not sure what you mean, what numbers do you expect to see for the sample? Logic can you explain the logic also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304555#M406199</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T10:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304556#M406200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the solution. That's cool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second issue:&lt;/P&gt;&lt;P&gt;I have uploaded the new file.&lt;SPAN style="font-size: 10pt;"&gt;Please check the cumulative total on the chart 'Month View'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jan-&amp;gt; 70%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Feb-&amp;gt;76%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Mar-&amp;gt;77%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304556#M406200</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-30T13:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304557#M406201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Dimensionality() = 2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(rangesum(Before(sum({&amp;lt;[Task Type]={"project"}&amp;gt;}[Hours Billed]),0,RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/(rangesum(Before(sum([Hours Billed]),0,RowNo()))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr((rangesum(Above(sum({&amp;lt;[Task Type]={"project"}&amp;gt;}[Hours Billed]),0,RowNo())))/(rangesum(Above(sum([Hours Billed]),0,RowNo()))), Period))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158296_Capture.PNG" style="height: 166px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304557#M406201</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T13:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304558#M406202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!! I'm getting closer to the fix.&lt;/P&gt;&lt;P&gt;I tried to implement the same logic with the original data set but the cumulative value seems to be not matching.&lt;/P&gt;&lt;P&gt;I have another filler on the set expression. Could you please check the attached?&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, 30 Mar 2017 15:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304558#M406202</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-30T15:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304559#M406203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load the new data to the existing qvw? What is the expected output now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 15:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304559#M406203</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T15:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304560#M406204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought I attached the app earlier. Please find them here.&lt;/P&gt;&lt;P&gt;The expected cumulative total is on the 'Month View' Chart. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 17:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304560#M406204</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-30T17:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304561#M406205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have QV12? I really hope you do, because it seems that Period isn't correctly sorted in ascending order in the script which is causing the RangeSum(Above()) to not accumulating in the right manner. I have modified the expression to use this new concept which is available in QV12 (&lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;‌). If in case you don't have QV12, you will have to make sure to sort period in the script to make this to work.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Dimensionality() = 2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(rangesum(Before(sum({&amp;lt;[Task Type]={"project"}&amp;gt;}[Hours Billed]),0,RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/(rangesum(Before(sum([Hours Billed]),0,RowNo()))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr((rangesum(Above(sum({&amp;lt;[Task Type]={"project"}&amp;gt;}[Hours Billed]),0,RowNo())))/(rangesum(Above(sum([Hours Billed]),0,RowNo()))), &lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;Period&lt;SPAN style="color: #ff0000;"&gt;,(NUMERIC))&lt;/SPAN&gt;))&lt;/STRONG&gt;&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/158366_Capture.PNG" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 17:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304561#M406205</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T17:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304562#M406206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your time. I will try to apply this on the main application and share my observations. Thanks Again for the help.&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 17:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304562#M406206</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-30T17:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304563#M406207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I"m using v12 on my desktop and the results are as expected. But the server is on 11.2 SR12. so, when the data is loaded it shows null ( - ) for the cumulative row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 13:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304563#M406207</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-31T13:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304564#M406208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So then you need to fix the sorting in the script... if you don't want to move too many things around, you can do this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SortTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Distinct Period,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; AutoNumber(Period) as Sort&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident &lt;SPAN style="color: #808000;"&gt;Sheet1$&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace &lt;STRONG style="color: #808000; font-size: 13.3333px;"&gt;Sheet1$&lt;/STRONG&gt; this with the table where Period field resides (in your sample the table name is &lt;STRONG style="color: #808000; font-size: 13.3333px;"&gt;Sheet1$&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use Sort in your aggr in place of Period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=If(Dimensionality() = 2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;(rangesum(Before(sum({&amp;lt;[Task Type]={"project"}&amp;gt;}[Hours Billed]),0,RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;/(rangesum(Before(sum([Hours Billed]),0,RowNo()))),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Aggr((rangesum(Above(sum({&amp;lt;[Task Type]={"project"}&amp;gt;}[Hours Billed]),0,RowNo())))/(rangesum(Above(sum([Hours Billed]),0,RowNo()))), &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;Sort&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 13:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304564#M406208</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-31T13:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304565#M406209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;Yeah... I was trying to implement the same as well as suggested earlier. The cum does not match though.&lt;/P&gt;&lt;P&gt;Attached is the updated application. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 15:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304565#M406209</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-03-31T15:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304566#M406210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I gave you the wrong table code -&amp;gt; Forgot to add Order By statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SortTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Distinct Period,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; AutoNumber(Period) as Sort&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Order By Period;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 15:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304566#M406210</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-31T15:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with cumulative Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304567#M406211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny!! it worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 06:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-cumulative-Sum/m-p/1304567#M406211</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2017-04-05T06:41:22Z</dc:date>
    </item>
  </channel>
</rss>

