<?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 custom sort dimension - number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560379#M209168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i would like to have a custom sort function on the dimension itemnumber&lt;/P&gt;&lt;P&gt;so that all the numbers beginning with 9 come first in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried the following ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=match(left,Itemnumber,1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bradley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Sep 2013 11:59:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-02T11:59:41Z</dc:date>
    <item>
      <title>custom sort dimension - number</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560379#M209168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i would like to have a custom sort function on the dimension itemnumber&lt;/P&gt;&lt;P&gt;so that all the numbers beginning with 9 come first in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried the following ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=match(left,Itemnumber,1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Bradley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 11:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560379#M209168</guid>
      <dc:creator />
      <dc:date>2013-09-02T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort dimension - number</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560380#M209169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i would create a field in the script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(left(itemnumber, 1)=9, 1, 2 as xxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then sort by that field ascending&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 12:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560380#M209169</guid>
      <dc:creator>michael_maeuser</dc:creator>
      <dc:date>2013-09-02T12:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort dimension - number</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560381#M209170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= -match(left(Value,1),9)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or even just&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= -left(Value,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as sort expression. But how do you want to sort the other values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 12:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560381#M209170</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-02T12:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort dimension - number</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560382#M209171</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;if(Left(Value,1)=9,-1,Value) and sort ascending.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 12:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-dimension-number/m-p/560382#M209171</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2013-09-02T12:11:23Z</dc:date>
    </item>
  </channel>
</rss>

