<?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: Sort with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-with-expression/m-p/361196#M134117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Try a sort expression similar to this: &lt;/P&gt;&lt;P&gt;= min({1} AgeGroup) &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;= minstring( {1} AgeGroup) &lt;/P&gt;&lt;P&gt;This expression should calculate a value for the sort order independently of your selections. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 17:03:35 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2012-06-20T17:03:35Z</dc:date>
    <item>
      <title>Sort with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-with-expression/m-p/361195#M134116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I use a expression to sort one of my charts and it´s looks god. But when you do a selection from i.e. a multibox the charts change sort order, se atached pictures. It looks like then there is no value for the field QV doesen´t care about the sort order. If I change to another one like text or numeric value it´s works like it should do, but for me in wrong sort order.&lt;/P&gt;&lt;P&gt;I use =MixMatch(AgeGroup, '0 - 17', '18 - 24', '25 - 29', '30 - 34', '35 - 39', '40 - 44', '45 - 49', '50 - 54'......)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one that have a good solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 16:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-with-expression/m-p/361195#M134116</guid>
      <dc:creator />
      <dc:date>2012-06-20T16:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sort with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-with-expression/m-p/361196#M134117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Try a sort expression similar to this: &lt;/P&gt;&lt;P&gt;= min({1} AgeGroup) &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;= minstring( {1} AgeGroup) &lt;/P&gt;&lt;P&gt;This expression should calculate a value for the sort order independently of your selections. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 17:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-with-expression/m-p/361196#M134117</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-06-20T17:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sort with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-with-expression/m-p/361197#M134118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use Dual() Function to sort the order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass a no sequence to sort the age group.&lt;/P&gt;&lt;P&gt;put dual at place where u have derived the age group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 07:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-with-expression/m-p/361197#M134118</guid>
      <dc:creator />
      <dc:date>2012-06-21T07:28:02Z</dc:date>
    </item>
  </channel>
</rss>

