<?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 with descending order in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050080#M86322</link>
    <description>&lt;P&gt;I'm with &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;on this one, but it may be possible to work around the problem using Chart-level scripting, though I'm not sure how exactly one would go about doing that efficiently (a solution with o(n^2) should be possible at the very least).&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2023 12:51:15 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-03-16T12:51:15Z</dc:date>
    <item>
      <title>cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2049934#M86302</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;Hope everything fine!&lt;/P&gt;
&lt;P&gt;I'm facing couple of issues on cumulative sum (default cumulative sum working fine from top to bottom, but my requirement is it should be descending order cumulative).&lt;/P&gt;
&lt;P&gt;Ex:&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="128"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;&lt;STRONG&gt;ID&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="64"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;QlikView&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;PBI&lt;/TD&gt;
&lt;TD&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Tableau&lt;/TD&gt;
&lt;TD&gt;150&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Spotfire&lt;/TD&gt;
&lt;TD&gt;120&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Output would be:&lt;/P&gt;
&lt;TABLE width="272px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;ID&amp;nbsp;&lt;/TD&gt;
&lt;TD width="59.8375px"&gt;Sales&lt;/TD&gt;
&lt;TD width="142.363px"&gt;Cumulative Sum&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;QlikView&lt;/TD&gt;
&lt;TD width="59.8375px"&gt;100&lt;/TD&gt;
&lt;TD width="142.363px"&gt;370&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;PBI&lt;/TD&gt;
&lt;TD width="59.8375px"&gt;50&lt;/TD&gt;
&lt;TD width="142.363px"&gt;420&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;Tableau&lt;/TD&gt;
&lt;TD width="59.8375px"&gt;150&lt;/TD&gt;
&lt;TD width="142.363px"&gt;150&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;Spotfire&lt;/TD&gt;
&lt;TD width="59.8375px"&gt;120&lt;/TD&gt;
&lt;TD width="142.363px"&gt;270&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Can you give a try please for me ?&lt;/P&gt;
&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 09:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2049934#M86302</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2023-03-16T09:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050014#M86314</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2019"&gt;@Bastien_Laugiero&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/117387"&gt;@Steve_Nguyen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29731"&gt;@MK_QSL&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;,&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/675"&gt;@MarcoWedel&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please help me on this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;This is also similar one&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Cumulative-sum/td-p/2048404" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Cumulative-sum/td-p/2048404&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 11:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050014#M86314</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2023-03-16T11:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050043#M86316</link>
      <description>&lt;P&gt;You will need at first an appropriate ordering of the dimension probably just the expression of: sum(Sales) with a descending order and then something like rangesum(above(sum(Sales), 0, rowno()))&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 12:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050043#M86316</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-03-16T12:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050054#M86318</link>
      <description>&lt;P&gt;Yes Marcus, but the problem is I'm doing two columns for cumulative.&lt;/P&gt;
&lt;P&gt;Example: Sales 1 column is descending order and calculated &lt;STRONG&gt;Cumulative Sales 1&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;at the same time have to calculate &lt;STRONG&gt;Cumulative Sales 2.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE width="487"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;&lt;STRONG&gt;ID&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="64"&gt;&lt;STRONG&gt;Site&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="64"&gt;&lt;STRONG&gt;Sales 1&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="64"&gt;&lt;STRONG&gt;Sales 2&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="114"&gt;&lt;STRONG&gt;Cumulative Sales1&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="117"&gt;&lt;STRONG&gt;Cumulative Sales 2&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;QlikView&lt;/TD&gt;
&lt;TD&gt;Site1&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;370&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;PBI&lt;/TD&gt;
&lt;TD&gt;Site2&lt;/TD&gt;
&lt;TD&gt;45&lt;/TD&gt;
&lt;TD&gt;50&lt;/TD&gt;
&lt;TD&gt;145&lt;/TD&gt;
&lt;TD&gt;420&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Tableau&lt;/TD&gt;
&lt;TD&gt;Site3&lt;/TD&gt;
&lt;TD&gt;25&lt;/TD&gt;
&lt;TD&gt;150&lt;/TD&gt;
&lt;TD&gt;170&lt;/TD&gt;
&lt;TD&gt;150&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Spotfire&lt;/TD&gt;
&lt;TD&gt;Site4&lt;/TD&gt;
&lt;TD&gt;8&lt;/TD&gt;
&lt;TD&gt;120&lt;/TD&gt;
&lt;TD&gt;178&lt;/TD&gt;
&lt;TD&gt;270&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there any possibility for two cumulative ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not sure if it is possibility or not - user's wants both in same chart&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 12:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050054#M86318</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2023-03-16T12:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050076#M86321</link>
      <description>&lt;P&gt;Within a classical logic it's not available because there is only one ordering possible. Maybe you could connect a second ordering by an aggr() wrapping of the sum(Sales) and/or also around the rangesum() but I could imagine that's rather tricky and by larger data-sets not very performant.&lt;/P&gt;
&lt;P&gt;Beside this I have some doubts about the readability and interpretation from this information by displaying it in the mentioned way. I think there are better ways to present this data.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 12:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050076#M86321</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-03-16T12:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050080#M86322</link>
      <description>&lt;P&gt;I'm with &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;on this one, but it may be possible to work around the problem using Chart-level scripting, though I'm not sure how exactly one would go about doing that efficiently (a solution with o(n^2) should be possible at the very least).&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 12:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050080#M86322</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-03-16T12:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050334#M86343</link>
      <description>&lt;P&gt;Marcus, I couldn't find any solutions using &lt;STRONG&gt;aggr&lt;/STRONG&gt; function - could you please suggest any solution&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="903"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="58"&gt;&lt;STRONG&gt;ID&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="38"&gt;&lt;STRONG&gt;Site&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="47"&gt;&lt;STRONG&gt;Sales 1&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="47"&gt;&lt;STRONG&gt;Sales 2&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="114"&gt;&lt;STRONG&gt;Cumulative Sales1&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="117"&gt;&lt;STRONG&gt;Cumulative Sales 2&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="107"&gt;&lt;STRONG&gt;Sales 1 Total&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="81"&gt;&lt;STRONG&gt;Sales 2 Total&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="58"&gt;&lt;STRONG&gt;Sale 1 %&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="60"&gt;&lt;STRONG&gt;sales 2 %&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="86"&gt;&lt;STRONG&gt;Sales1 bucket&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="90"&gt;&lt;STRONG&gt;Sales 2 Bucket&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;QlikView&lt;/TD&gt;
&lt;TD&gt;Site1&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;100&lt;/TD&gt;
&lt;TD&gt;370&lt;/TD&gt;
&lt;TD&gt;178&lt;/TD&gt;
&lt;TD&gt;420&lt;/TD&gt;
&lt;TD&gt;56.18%&lt;/TD&gt;
&lt;TD&gt;88.10%&lt;/TD&gt;
&lt;TD&gt;30%-60%&lt;/TD&gt;
&lt;TD&gt;80%-100%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;PBI&lt;/TD&gt;
&lt;TD&gt;Site2&lt;/TD&gt;
&lt;TD&gt;45&lt;/TD&gt;
&lt;TD&gt;50&lt;/TD&gt;
&lt;TD&gt;145&lt;/TD&gt;
&lt;TD&gt;420&lt;/TD&gt;
&lt;TD&gt;178&lt;/TD&gt;
&lt;TD&gt;420&lt;/TD&gt;
&lt;TD&gt;81.46%&lt;/TD&gt;
&lt;TD&gt;100.00%&lt;/TD&gt;
&lt;TD&gt;80%-100%&lt;/TD&gt;
&lt;TD&gt;80%-100%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Tableau&lt;/TD&gt;
&lt;TD&gt;Site3&lt;/TD&gt;
&lt;TD&gt;25&lt;/TD&gt;
&lt;TD&gt;150&lt;/TD&gt;
&lt;TD&gt;170&lt;/TD&gt;
&lt;TD&gt;150&lt;/TD&gt;
&lt;TD&gt;178&lt;/TD&gt;
&lt;TD&gt;420&lt;/TD&gt;
&lt;TD&gt;95.51%&lt;/TD&gt;
&lt;TD&gt;35.71%&lt;/TD&gt;
&lt;TD&gt;80%-100%&lt;/TD&gt;
&lt;TD&gt;30%-60%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Spotfire&lt;/TD&gt;
&lt;TD&gt;Site4&lt;/TD&gt;
&lt;TD&gt;8&lt;/TD&gt;
&lt;TD&gt;120&lt;/TD&gt;
&lt;TD&gt;178&lt;/TD&gt;
&lt;TD&gt;270&lt;/TD&gt;
&lt;TD&gt;178&lt;/TD&gt;
&lt;TD&gt;420&lt;/TD&gt;
&lt;TD&gt;100.00%&lt;/TD&gt;
&lt;TD&gt;64.29%&lt;/TD&gt;
&lt;TD&gt;80%-100%&lt;/TD&gt;
&lt;TD&gt;60%-80%&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;my final output is&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="323px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;&lt;STRONG&gt;ID&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="44.325px"&gt;&lt;STRONG&gt;Site&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;&lt;STRONG&gt;Sales 1&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;&lt;STRONG&gt;Sales 2&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;&lt;STRONG&gt;Sales1 bucket&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;&lt;STRONG&gt;Sales 2 Bucket&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;QlikView&lt;/TD&gt;
&lt;TD width="44.325px"&gt;Site1&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;100&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;100&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;30%-60%&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;80%-100%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;PBI&lt;/TD&gt;
&lt;TD width="44.325px"&gt;Site2&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;45&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;50&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;80%-100%&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;80%-100%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;Tableau&lt;/TD&gt;
&lt;TD width="44.325px"&gt;Site3&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;25&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;150&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;80%-100%&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;30%-60%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="69px"&gt;Spotfire&lt;/TD&gt;
&lt;TD width="44.325px"&gt;Site4&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;8&lt;/TD&gt;
&lt;TD width="46.1125px"&gt;120&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;80%-100%&lt;/TD&gt;
&lt;TD width="81.8625px"&gt;60%-80%&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 17 Mar 2023 03:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050334#M86343</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2023-03-17T03:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050352#M86346</link>
      <description>&lt;P&gt;Cummulative Sales 1 :&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;rangesum(above(total sum([Sales 1]), 0, rowno(total)))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cummulative Sales 2 :&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aggr(rangesum(above(total sum([Sales 2]), 0, rowno(total))), (ID, (TEXT, DESCENDING)))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1679032704239.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102981i5F8F8935A927B4D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1679032704239.png" alt="tresesco_0-1679032704239.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 05:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050352#M86346</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2023-03-17T05:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050365#M86348</link>
      <description>&lt;P&gt;Thanks for reply&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have tried this earlier - but not working for me (I'm using 12.7 version QlikView)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulwalker_0-1679034984460.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102984i9EB6E897BCDB77EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulwalker_0-1679034984460.png" alt="paulwalker_0-1679034984460.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 06:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050365#M86348</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2023-03-17T06:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050382#M86349</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Working&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp; - Thank you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Aggr(rangesum(above(total sum([Sales 2]), 0, rowno(total))), (&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;[&lt;/FONT&gt;&lt;/STRONG&gt;ID&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;]&lt;/FONT&gt;&lt;/STRONG&gt;, (TEXT, DESCENDING)))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Just ID kept in square bracket - working fine.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 07:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050382#M86349</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2023-03-17T07:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050437#M86353</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;, any possibility on this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Cumulative-sum/td-p/2048404" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Cumulative-sum/td-p/2048404&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 09:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050437#M86353</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2023-03-17T09:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050453#M86354</link>
      <description>&lt;P&gt;Yes, one way is using labels, like:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;If([Group Total]&amp;lt;&amp;gt;Above([Group Total]), RangeSum(Above(Total Cummulative), [Group Total]),Above(Total Cummulative))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I posted there in the orig. post as well.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tresesco_0-1679047596015.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102997iB1CCCA478BB55CE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tresesco_0-1679047596015.png" alt="tresesco_0-1679047596015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Please like and mark correct answers to close the thread; that also helps others looking for solutions to similar issues.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050453#M86354</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2023-03-17T10:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050850#M86379</link>
      <description>&lt;P&gt;Add 'nodistinct' in aggr(), like:&amp;nbsp; &amp;nbsp;Aggr( Nodistinct ...&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 05:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050850#M86379</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2023-03-20T05:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: cumulative sum with descending order</title>
      <link>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050863#M86381</link>
      <description>&lt;P&gt;Your sort order is&amp;nbsp;&lt;SPAN&gt;Site_Sales, you have to correct that; use sum(Site_Sales) and play a bit to adjust to handle the&amp;nbsp; cases of conflicts&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 06:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/cumulative-sum-with-descending-order/m-p/2050863#M86381</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2023-03-20T06:30:06Z</dc:date>
    </item>
  </channel>
</rss>

