<?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/765934#M471461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it's monday &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; And yes you can use the dual function. In load script load a dual value of the dimension, I would first load a map of sort order values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TextSort:&lt;/P&gt;&lt;P&gt;mapping load * inline [Text,SortOrder&lt;/P&gt;&lt;P&gt;'Car',1&lt;/P&gt;&lt;P&gt;'Bus',2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then load the Dimension as &lt;/P&gt;&lt;P&gt;Dual(YourDim,Applymap('&lt;SPAN style="font-size: 13.3333330154419px;"&gt;TextSort&lt;/SPAN&gt;',YourDim)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart sort your dimension by numeric value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piet Hein&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 11:19:07 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2015-03-09T11:19:07Z</dc:date>
    <item>
      <title>Custom Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765932#M471459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;struggling to engage brain today &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to create a custom sort order for a dimension of text values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Car&lt;/P&gt;&lt;P&gt;Bus&lt;/P&gt;&lt;P&gt;Plane&lt;/P&gt;&lt;P&gt;Boat&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas? can DUALbe used in this scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 11:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765932#M471459</guid>
      <dc:creator>wonkymeister</dc:creator>
      <dc:date>2015-03-09T11:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765933#M471460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In expression of Sort tab, use below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match(Dim,'Car','Bus','Plane','Boat')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 11:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765933#M471460</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-09T11:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765934#M471461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it's monday &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; And yes you can use the dual function. In load script load a dual value of the dimension, I would first load a map of sort order values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TextSort:&lt;/P&gt;&lt;P&gt;mapping load * inline [Text,SortOrder&lt;/P&gt;&lt;P&gt;'Car',1&lt;/P&gt;&lt;P&gt;'Bus',2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then load the Dimension as &lt;/P&gt;&lt;P&gt;Dual(YourDim,Applymap('&lt;SPAN style="font-size: 13.3333330154419px;"&gt;TextSort&lt;/SPAN&gt;',YourDim)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart sort your dimension by numeric value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Piet Hein&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 11:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765934#M471461</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-03-09T11:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765935#M471462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi WonkyMeister,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a long list of items in your Dimension,&lt;/P&gt;&lt;P&gt;You can have a numeric Flag assigned to each unique item.&lt;/P&gt;&lt;P&gt;Applymap from a master list(excel,txt, or db table)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 11:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765935#M471462</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-03-09T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765936#M471463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;many thanks - got Monday morning brain fog &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 11:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-Order/m-p/765936#M471463</guid>
      <dc:creator>wonkymeister</dc:creator>
      <dc:date>2015-03-09T11:35:13Z</dc:date>
    </item>
  </channel>
</rss>

