<?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: The Above() function is messing with an object's sorting order in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1596060#M43871</link>
    <description>&lt;P&gt;Yes, that's correct. But you need to sort the aggr too with what's called a 'structured parameter':&lt;/P&gt;&lt;P&gt;sum(aggr(rangesum(above(count(Expre),0, RowNo())),&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt; (Dime,(=Count({1} Expre),Desc))&lt;/STRONG&gt;&lt;/FONT&gt; )) / count( total Expre)&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 07:57:49 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2019-06-26T07:57:49Z</dc:date>
    <item>
      <title>The Above() function is messing with an object's sorting order</title>
      <link>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1595754#M43855</link>
      <description>&lt;P&gt;I built a table whith a Dimension, (Dime); an expression, SUM(Expre); and another expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ev0.PNG" style="width: 580px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14359i7ED530932D61271B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ev0.PNG" alt="Ev0.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The last one is used to build a cumulative percentage of the SUM.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have sorting priority with the SUM(Expre) expression, but whenever I add 2nd expression, it messes around my sorting order . How can I stop this from happening?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I add the data of the table loaded, evidence images and a qvf with the error replicated in it.&lt;/P&gt;&lt;P&gt;Infinite thanks to everyone in this forum, you're always inmmensively helpful and I appreciate it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1) Data" style="width: 333px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14369i70FBCC23D07FE159/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ev1.PNG" alt="1) Data" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1) Data&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2) Table with just 1st expression" style="width: 580px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14370i8B58EA53222EF4A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ev2.PNG" alt="2) Table with just 1st expression" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;2) Table with just 1st expression&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3) Table with 2nd expression that messes the order" style="width: 934px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14371iF1DA0AD7CBE9A0AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ev3.PNG" alt="3) Table with 2nd expression that messes the order" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;3) Table with 2nd expression that messes the order&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1595754#M43855</guid>
      <dc:creator>julioarriaga</dc:creator>
      <dc:date>2024-11-16T05:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: The Above() function is messing with an object's sorting order</title>
      <link>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1595769#M43856</link>
      <description>&lt;P&gt;Yes, using inter-record functions disables some sorting options:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/inter-record-functions-charts.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/inter-record-functions-charts.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sorting on y-values in charts or sorting by expression columns in straight tables is not allowed when chart inter-record functions are used in any of the chart's expressions. These sort alternatives are therefore automatically disabled.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 14:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1595769#M43856</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-06-25T14:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: The Above() function is messing with an object's sorting order</title>
      <link>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1595792#M43859</link>
      <description>So, I suppose I should use the aggr function in order to make it work, right? Thanks a lot for the clarification!</description>
      <pubDate>Tue, 25 Jun 2019 15:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1595792#M43859</guid>
      <dc:creator>julioarriaga</dc:creator>
      <dc:date>2019-06-25T15:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: The Above() function is messing with an object's sorting order</title>
      <link>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1596060#M43871</link>
      <description>&lt;P&gt;Yes, that's correct. But you need to sort the aggr too with what's called a 'structured parameter':&lt;/P&gt;&lt;P&gt;sum(aggr(rangesum(above(count(Expre),0, RowNo())),&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt; (Dime,(=Count({1} Expre),Desc))&lt;/STRONG&gt;&lt;/FONT&gt; )) / count( total Expre)&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 07:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/The-Above-function-is-messing-with-an-object-s-sorting-order/m-p/1596060#M43871</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-06-26T07:57:49Z</dc:date>
    </item>
  </channel>
</rss>

