<?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 Order? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131351#M901986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(ORDER, '01', '02', '04', '05', '03', '06', '07')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2016 14:29:40 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-11T14:29:40Z</dc:date>
    <item>
      <title>Custom Sort Order?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131347#M901982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have the following table:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="199" style="border: 1px solid #000000; width: 79px; height: 107px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ORDER&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;VALUE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;03&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;04&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;05&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;06&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;F&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;07&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;G&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;What I need is to &lt;STRONG&gt;SORT&lt;/STRONG&gt; the table like this:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="199" style="border: 1px solid #000000; width: 79px; height: 107px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ORDER&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;VALUE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;04&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;05&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;03&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;06&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;F&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;07&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;G&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;By showing number 0&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt; after &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;05&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Do you know how could I do this?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I used a quick fix by doing the following in the script: IF(ORDER='03','05.5',ORDER) AS ORDER&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then I SORT by Expression with field ORDER ascending (01 - 02 - 04 - 05 - 05.5 - 06 - 07).&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Is there any other better way?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131347#M901982</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131348#M901983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like a good way to handle it. What's the concern here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131348#M901983</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-11T14:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131349#M901984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to know if is there any direct way to use from SORT in Expression instead of touching the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131349#M901984</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2016-07-11T14:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131350#M901985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this expression for the sort expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;IF(ORDER='03','05.5',ORDER)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131350#M901985</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-11T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131351#M901986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(ORDER, '01', '02', '04', '05', '03', '06', '07')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131351#M901986</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-11T14:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131352#M901987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 14:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/1131352#M901987</guid>
      <dc:creator>microwin88x</dc:creator>
      <dc:date>2016-07-11T14:43:15Z</dc:date>
    </item>
  </channel>
</rss>

