<?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: Weird sorting problem... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weird-sorting-problem/m-p/402114#M563225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using dual you can define a text and number attributes for each field value. That's usually what's done for month jan, feb, mar are actually 1,2,3 and they are always sorte.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way your seasons will behave like a number and will always be sorted, in every selector or chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2013 00:56:10 GMT</pubDate>
    <dc:creator>danielrozental</dc:creator>
    <dc:date>2013-02-05T00:56:10Z</dc:date>
    <item>
      <title>Weird sorting problem...</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-sorting-problem/m-p/402113#M563224</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 have a simple table with "season codes" like S12, S13, W12, W13, etc and I need them to be sorted descending using this expression:&lt;/P&gt;&lt;P&gt;=right(Season, 2) &amp;amp; left(Season, 1)&lt;/P&gt;&lt;P&gt;resulting in something like W13, S13, W12, S12 etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I get in QV is completely messed up instead...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the QVW attached and let me know if I'm doing something wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 22:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-sorting-problem/m-p/402113#M563224</guid>
      <dc:creator />
      <dc:date>2013-02-04T22:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Weird sorting problem...</title>
      <link>https://community.qlik.com/t5/QlikView/Weird-sorting-problem/m-p/402114#M563225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using dual you can define a text and number attributes for each field value. That's usually what's done for month jan, feb, mar are actually 1,2,3 and they are always sorte.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way your seasons will behave like a number and will always be sorted, in every selector or chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 00:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weird-sorting-problem/m-p/402114#M563225</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2013-02-05T00:56:10Z</dc:date>
    </item>
  </channel>
</rss>

