<?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 with sort by expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Aggr-with-sort-by-expression/m-p/1643493#M47981</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Please try bringing the Aggr expression field first in sorting order you will see the desired result.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 06 Nov 2019 04:13:20 GMT</pubDate>
    <dc:creator>premvihari</dc:creator>
    <dc:date>2019-11-06T04:13:20Z</dc:date>
    <item>
      <title>Aggr with sort by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-sort-by-expression/m-p/1643434#M47978</link>
      <description>&lt;P&gt;Hi, everyone,&lt;/P&gt;&lt;P&gt;I tried to sort an aggr by expression (just as it is used in a Pareto Analysis by Henric, &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;But it's not giving me the desired results, so I troubleshot my mistake with a simple example, and still it's not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data is:&lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;LOAD * INLINE [State,Amount&lt;BR /&gt;Ags,789&lt;BR /&gt;Jx,180&lt;BR /&gt;Mor,471&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;And the table is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura.PNG" style="width: 720px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22955i597D89BA6C8256A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura.PNG" alt="Captura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But it's not giving me desired descending order. I know in this example it's not necessary to use an aggr with expression sorting, but I need to get it right, so I can progress to my more complex real problem.&lt;/P&gt;&lt;P&gt;This can be solved by a "sort by" from the script, but in my real problem I don't have this option.&lt;/P&gt;&lt;P&gt;I add the qvf also.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As always, thank you for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-sort-by-expression/m-p/1643434#M47978</guid>
      <dc:creator>julioarriaga</dc:creator>
      <dc:date>2024-11-16T04:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with sort by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-sort-by-expression/m-p/1643493#M47981</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Please try bringing the Aggr expression field first in sorting order you will see the desired result.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Nov 2019 04:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-sort-by-expression/m-p/1643493#M47981</guid>
      <dc:creator>premvihari</dc:creator>
      <dc:date>2019-11-06T04:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with sort by expression</title>
      <link>https://community.qlik.com/t5/App-Development/Aggr-with-sort-by-expression/m-p/1643840#M48018</link>
      <description>&lt;P&gt;I already said in my post that this sorting is not an option, please, I'm not a newbie. The reason this is not an option is because I will be using inter record functions such as the 'Above' function.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 16:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Aggr-with-sort-by-expression/m-p/1643840#M48018</guid>
      <dc:creator>julioarriaga</dc:creator>
      <dc:date>2019-11-06T16:40:54Z</dc:date>
    </item>
  </channel>
</rss>

