<?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 Changing Dinamically Order of Column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Changing-Dinamically-Order-of-Column/m-p/2548225#M110155</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I'm working on a Qlik Sense table with three main elements: a field named CLIENT_ID, a measure which is SUM(AMOUNT) and a variable switch that controls if the user wants to see "the clients with lower amount" or "the clients with highest amount".&lt;BR /&gt;&lt;BR /&gt;For the variable, I have two columns of CLIENT_ID, one having &lt;EM&gt;limit + last + 20&lt;/EM&gt; rows by the measure value, and the another having&amp;nbsp;&lt;EM&gt;limit + first + 20&lt;/EM&gt; rows by the measure value. This is because i cannot change dynamically between "first" and "last" limit.&lt;BR /&gt;&lt;BR /&gt;The problem is that in the version of Qlik that I'm using, there is not a "order by expression" feature in the sort panel. This causes that even changing the limit between "first" or "last", the sort order of the measures is static.&lt;BR /&gt;&lt;BR /&gt;I shared examples of the problem I have,&amp;nbsp;&lt;STRONG&gt;Is there an alternative to change the limit option and measure order dynamically?&lt;BR /&gt;&lt;BR /&gt;I want to have&lt;BR /&gt;- limit = first &lt;/STRONG&gt;with &lt;STRONG&gt;measure order = descending&amp;nbsp;&lt;BR /&gt;- limit = last &lt;/STRONG&gt;with &lt;STRONG&gt;measure order = ascending&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2026 18:30:26 GMT</pubDate>
    <dc:creator>LuisGramillo</dc:creator>
    <dc:date>2026-04-30T18:30:26Z</dc:date>
    <item>
      <title>Changing Dinamically Order of Column</title>
      <link>https://community.qlik.com/t5/App-Development/Changing-Dinamically-Order-of-Column/m-p/2548225#M110155</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I'm working on a Qlik Sense table with three main elements: a field named CLIENT_ID, a measure which is SUM(AMOUNT) and a variable switch that controls if the user wants to see "the clients with lower amount" or "the clients with highest amount".&lt;BR /&gt;&lt;BR /&gt;For the variable, I have two columns of CLIENT_ID, one having &lt;EM&gt;limit + last + 20&lt;/EM&gt; rows by the measure value, and the another having&amp;nbsp;&lt;EM&gt;limit + first + 20&lt;/EM&gt; rows by the measure value. This is because i cannot change dynamically between "first" and "last" limit.&lt;BR /&gt;&lt;BR /&gt;The problem is that in the version of Qlik that I'm using, there is not a "order by expression" feature in the sort panel. This causes that even changing the limit between "first" or "last", the sort order of the measures is static.&lt;BR /&gt;&lt;BR /&gt;I shared examples of the problem I have,&amp;nbsp;&lt;STRONG&gt;Is there an alternative to change the limit option and measure order dynamically?&lt;BR /&gt;&lt;BR /&gt;I want to have&lt;BR /&gt;- limit = first &lt;/STRONG&gt;with &lt;STRONG&gt;measure order = descending&amp;nbsp;&lt;BR /&gt;- limit = last &lt;/STRONG&gt;with &lt;STRONG&gt;measure order = ascending&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 18:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Changing-Dinamically-Order-of-Column/m-p/2548225#M110155</guid>
      <dc:creator>LuisGramillo</dc:creator>
      <dc:date>2026-04-30T18:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Dinamically Order of Column</title>
      <link>https://community.qlik.com/t5/App-Development/Changing-Dinamically-Order-of-Column/m-p/2548296#M110168</link>
      <description>&lt;P&gt;Hi, there is no order by expression? I thought that was there since the beginning.&lt;/P&gt;&lt;P&gt;I suppose there is no chance to upgrade the version of sense?&lt;/P&gt;&lt;P&gt;A possible workaround could be using a dynamic dimension using Dual, like:&lt;/P&gt;&lt;P&gt;Aggr(Dual(&lt;SPAN&gt;CLIENT_ID, $(vMeasureName)), and vMeasureName would be a variable with "SUM(AMOUNT)" or "-SUM(AMOUNT)".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But this would change the dimension to number with a text representation, so it would show right aligned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe it's better to add a numeric first column using Rank(), like:&amp;nbsp;=Aggr(Rank($(vMeasureName),DATE),DATE)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2026 08:09:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Changing-Dinamically-Order-of-Column/m-p/2548296#M110168</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2026-05-02T08:09:02Z</dc:date>
    </item>
  </channel>
</rss>

