<?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: Aggr(RangeSum(Above( .... Sorting Problem in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2116152#M91075</link>
    <description>&lt;P&gt;Hi Oleg Thanks a lot for Your support !!!&lt;/P&gt;
&lt;P&gt;I use this fromula and It's Work !!!&lt;/P&gt;
&lt;P&gt;sum(Aggr(RangeSum(Above(sum(QTA PLAN,),0, RowNo())),&lt;BR /&gt;KCODE,&lt;BR /&gt;(Data_MAD,(text, Ascending))))&lt;/P&gt;
&lt;P&gt;Thanks !!!&lt;/P&gt;
&lt;P&gt;silvio&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 15:50:11 GMT</pubDate>
    <dc:creator>SilvioQlik</dc:creator>
    <dc:date>2023-09-12T15:50:11Z</dc:date>
    <item>
      <title>Aggr(RangeSum(Above( .... Sorting Problem</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2115540#M91030</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good Moning Comunity, I'm Silvio From Italy&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this Table :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SilvioQlik_0-1694437969895.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116038i412399BED035D689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SilvioQlik_0-1694437969895.png" alt="SilvioQlik_0-1694437969895.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the following formula to reach&amp;nbsp;a progressive sum of QTA_PLAN for each KCODE ordered in ascending order with respect to the Data_MAD.&amp;nbsp; But as You can see on the Table the sorting is not correct....&amp;nbsp;I also tried to create a "chiave" with the concatenated information.. but it doesn't work.&lt;/P&gt;
&lt;P&gt;Aggr(RangeSum(Above(sum([QTA_PLAN]), 0, RowNo())),KCODE,Chiave)&lt;/P&gt;
&lt;P&gt;Can anyone kindly give me some help?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;Silvio&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 13:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2115540#M91030</guid>
      <dc:creator>SilvioQlik</dc:creator>
      <dc:date>2023-09-11T13:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( .... Sorting Problem</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2115556#M91035</link>
      <description>&lt;P&gt;Hi Silvio,&lt;/P&gt;
&lt;P&gt;The image is very small and blurry, but it looks to me like your chart is not sorted the same way you sorted your AGGR, hence the impression that the cumulative sum doesn't work.&lt;/P&gt;
&lt;P&gt;Another idea to explore - in the AGGR() function, data is sorted based on the load order. In order to sort data in a particular order, like you need, you should use so called "structured arguments", like this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Aggr(RangeSum(Above(sum([QTA_PLAN]), 0, RowNo())),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;KCODE,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(Chiave, (TEXT, ASCENDING))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or, perhaps you need to replace Chiave the Date field in your AGGR dimensions, to ensure that it's sorted chronologically?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Come to the &lt;A href="https://masterssummit.com" target="_blank"&gt;Masters Summit for Qlik&lt;/A&gt; in Dublin this October, to learn advanced AGGR() and Set Analysis&amp;nbsp; - I'm covering all these questions there!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 13:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2115556#M91035</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-09-11T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( .... Sorting Problem</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2116152#M91075</link>
      <description>&lt;P&gt;Hi Oleg Thanks a lot for Your support !!!&lt;/P&gt;
&lt;P&gt;I use this fromula and It's Work !!!&lt;/P&gt;
&lt;P&gt;sum(Aggr(RangeSum(Above(sum(QTA PLAN,),0, RowNo())),&lt;BR /&gt;KCODE,&lt;BR /&gt;(Data_MAD,(text, Ascending))))&lt;/P&gt;
&lt;P&gt;Thanks !!!&lt;/P&gt;
&lt;P&gt;silvio&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 15:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2116152#M91075</guid>
      <dc:creator>SilvioQlik</dc:creator>
      <dc:date>2023-09-12T15:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr(RangeSum(Above( .... Sorting Problem</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2493462#M102325</link>
      <description>&lt;P&gt;Thank you, the&amp;nbsp;&lt;SPAN&gt;(Data_MAD,(text, Ascending)) part helped me too to get the right order on my expression.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 13:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-RangeSum-Above-Sorting-Problem/m-p/2493462#M102325</guid>
      <dc:creator>QlikJeremy</dc:creator>
      <dc:date>2024-11-19T13:12:22Z</dc:date>
    </item>
  </channel>
</rss>

