<?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: Data not sorting as expected in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507541#M104351</link>
    <description>&lt;P&gt;I don't see any indication of sorting in your Aggr() function... without sorting definitions, data will be sorted in the load order within the aggr(). &lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/The-sortable-Aggr-function-is-finally-here/ba-p/1470262" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Design/The-sortable-Aggr-function-is-finally-here/ba-p/1470262&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2025 08:04:17 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2025-02-27T08:04:17Z</dc:date>
    <item>
      <title>Data not sorting as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507484#M104343</link>
      <description>&lt;P&gt;I am trying to use an above function by aggregation in a straight chart. However, after noticing the inconsistency of the outputs I realized that the above function is applying to a unsorted order. When I bring in a rowno() by the same aggregation into a new column, I can clearly see that the dates are out of order&lt;/P&gt;
&lt;P&gt;You can see that from line 1087 to 1086, the dates jump several years. 20250131 which should be the next date in this list, is all the way at row 272.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have used an order by in the final table in the script with these same dimensions, but the weird sorting seems to not change. Any ideas on how to get this sorted correctly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarahshong_0-1740605498134.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177909i277CC633EE8E5F58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sarahshong_0-1740605498134.png" alt="sarahshong_0-1740605498134.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 21:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507484#M104343</guid>
      <dc:creator>sarahshong</dc:creator>
      <dc:date>2025-02-26T21:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data not sorting as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507537#M104348</link>
      <description>&lt;P&gt;Maybe it is about order? You say that you want to measure to sort first by month and then by date. If you switch those around?&amp;nbsp;aggr(rowno(),Product,Tyhpe,Date,Contract_Month,CYNum2)&lt;BR /&gt;&lt;BR /&gt;(maybe Contract_Month and possible CYNum2 are not necessary if date is already on a lower level)&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 07:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507537#M104348</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2025-02-27T07:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data not sorting as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507541#M104351</link>
      <description>&lt;P&gt;I don't see any indication of sorting in your Aggr() function... without sorting definitions, data will be sorted in the load order within the aggr(). &lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Design/The-sortable-Aggr-function-is-finally-here/ba-p/1470262" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Design/The-sortable-Aggr-function-is-finally-here/ba-p/1470262&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 08:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507541#M104351</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-02-27T08:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data not sorting as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507633#M104364</link>
      <description>&lt;P&gt;this worked perfectly, thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 14:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-not-sorting-as-expected/m-p/2507633#M104364</guid>
      <dc:creator>sarahshong</dc:creator>
      <dc:date>2025-02-27T14:02:10Z</dc:date>
    </item>
  </channel>
</rss>

