<?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: Qlik sense sort by expression asc/desc depending on filter in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514555#M105529</link>
    <description>&lt;P&gt;Thanks for your reply, thats not quite what i'm looking for.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Apr 2025 07:11:46 GMT</pubDate>
    <dc:creator>MatsR</dc:creator>
    <dc:date>2025-04-16T07:11:46Z</dc:date>
    <item>
      <title>Qlik sense sort by expression asc/desc depending on filter</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514424#M105499</link>
      <description>&lt;P&gt;Hello all, I have a bar chart which contains YYYYMM on the x-axis which i want to sort asc/desc depending on how many months which are filtered.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a filter containing YYYYMM, if the user selects 15 months or less I would like to sort the x-axis ascending othervise descending. Is this possible?&lt;/P&gt;&lt;P&gt;Br Mats&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 11:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514424#M105499</guid>
      <dc:creator>MatsR</dc:creator>
      <dc:date>2025-04-15T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense sort by expression asc/desc depending on filter</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514456#M105504</link>
      <description>&lt;P&gt;I think the approach would be to set the sort direction to "ascending" and negate the value in your sort expression. A sort expression like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if(Count(Distinct MonthYear) &amp;lt;= 15, MonthYear, -MonthYear)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 14:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514456#M105504</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-04-15T14:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense sort by expression asc/desc depending on filter</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514489#M105510</link>
      <description>&lt;P&gt;Is that what you need?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 17:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514489#M105510</guid>
      <dc:creator>BrandonFontes</dc:creator>
      <dc:date>2025-04-15T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense sort by expression asc/desc depending on filter</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514555#M105529</link>
      <description>&lt;P&gt;Thanks for your reply, thats not quite what i'm looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 07:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514555#M105529</guid>
      <dc:creator>MatsR</dc:creator>
      <dc:date>2025-04-16T07:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense sort by expression asc/desc depending on filter</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514558#M105531</link>
      <description>&lt;P&gt;Thanks for your reply, yes this seems to what Im looking for, I cant get it to work though. It seems that the if condition always is true regardless how many months i choose. I i switch the '-' to the first MonthYear the sort order changes so I have to look into what Im doing wrong. Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 07:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-sort-by-expression-asc-desc-depending-on-filter/m-p/2514558#M105531</guid>
      <dc:creator>MatsR</dc:creator>
      <dc:date>2025-04-16T07:16:26Z</dc:date>
    </item>
  </channel>
</rss>

