<?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: Custom Sort in List Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-List-Box/m-p/480355#M553081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be best to correct this in the script, by parsing in your periods as dates. dates have a numeric representation which you can use for sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the list box properties, you can also try a sort by expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=match( [Pre-Project], 'Q1 2012','Q2 2012','Q3 2012','Q4 2012','Q1 2013')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 16:41:52 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-10-16T16:41:52Z</dc:date>
    <item>
      <title>Custom Sort in List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-List-Box/m-p/480354#M553080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya, I have some text fields denoting Periods in my data set. These are labels as follows:&lt;/P&gt;&lt;P&gt;Pre-Project&lt;/P&gt;&lt;P&gt;Q1 2012&lt;/P&gt;&lt;P&gt;Q2 2012&lt;/P&gt;&lt;P&gt;Q3 2012&lt;/P&gt;&lt;P&gt;Q4 2012&lt;/P&gt;&lt;P&gt;Q1 2013 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to custom sort them to they are in above order - but at present they won't do this (and either just go in load order or Q1 2012, Q1 2013 etc). Is there an expression I can use to sort these?&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, 16 Oct 2013 16:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-List-Box/m-p/480354#M553080</guid>
      <dc:creator />
      <dc:date>2013-10-16T16:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort in List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-List-Box/m-p/480355#M553081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be best to correct this in the script, by parsing in your periods as dates. dates have a numeric representation which you can use for sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the list box properties, you can also try a sort by expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=match( [Pre-Project], 'Q1 2012','Q2 2012','Q3 2012','Q4 2012','Q1 2013')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 16:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-List-Box/m-p/480355#M553081</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-16T16:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort in List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-List-Box/m-p/480356#M553082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant that expression has resolved it! Thanks a lot for your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 09:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-List-Box/m-p/480356#M553082</guid>
      <dc:creator />
      <dc:date>2013-10-17T09:03:09Z</dc:date>
    </item>
  </channel>
</rss>

