<?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 - Sorting AGGR(RANGESUM(ABOVE())) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Sorting-AGGR-RANGESUM-ABOVE/m-p/109337#M457464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using QV12 or above? If you are... then try this (assuming that your Month Year field is a dual field which has an underlying numeric value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Sum([PaymentAmount]),0,RowNo())), &lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;[Month/Year]&lt;SPAN style="color: #ff0000;"&gt;, (NUMERIC))&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Read about this here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2018 01:09:43 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-11-06T01:09:43Z</dc:date>
    <item>
      <title>Cumulative Sum - Sorting AGGR(RANGESUM(ABOVE()))</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Sorting-AGGR-RANGESUM-ABOVE/m-p/109336#M457463</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 have the following expression that is not giving me the desired "cumulative" payment results for YTD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(RangeSum(Above(Sum([PaymentAmount]),0,RowNo())),[Month/Year])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Month/Year field includes Jan-18 through Sep-18. It shows January payments as higher than February payments even though this should never be the case because it's cumulative (it should be an increase every month) - I'm guessing it has to do with the sorting and using the Above function? I.e. there is no row on the table for months with 0 payments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I ensure that the cumulative starts at Jan-18 if not all patients have a Jan-18 payment? There is always at least one patient with a Jan-18 payment though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 21:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Sorting-AGGR-RANGESUM-ABOVE/m-p/109336#M457463</guid>
      <dc:creator>kmstephenson</dc:creator>
      <dc:date>2018-11-05T21:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - Sorting AGGR(RANGESUM(ABOVE()))</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Sorting-AGGR-RANGESUM-ABOVE/m-p/109337#M457464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using QV12 or above? If you are... then try this (assuming that your Month Year field is a dual field which has an underlying numeric value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Sum([PaymentAmount]),0,RowNo())), &lt;SPAN style="color: #ff0000;"&gt;(&lt;/SPAN&gt;[Month/Year]&lt;SPAN style="color: #ff0000;"&gt;, (NUMERIC))&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Read about this here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 01:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-Sorting-AGGR-RANGESUM-ABOVE/m-p/109337#M457464</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-06T01:09:43Z</dc:date>
    </item>
  </channel>
</rss>

