<?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: Sort value in a chart and put &amp;quot;Other&amp;quot; at the end in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876429#M306002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;It seems to be right but I would like to be sure I've really understand how to use this function :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put it : &lt;STRONG&gt;Match(Dimension,'Other')&lt;/STRONG&gt; because the others values could be differents. Sometimes A,B,C, or sometimes M,X... so I can't put A,B,C,D... in this function.&lt;/P&gt;&lt;P&gt;Does this function sorted only values which are mentionned ? For the other values I can add an alphabetical order.&lt;/P&gt;&lt;P&gt;Is it right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marine Le Trionnaire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2015 09:49:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-05T09:49:11Z</dc:date>
    <item>
      <title>Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876420#M305993</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;I've a chart with several value in dimension, takes for instance :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); width: 177px; height: 98px;"&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;Dimension&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;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Other&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to sorting values in order to have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; width: 177px; height: 98px;"&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;Dimension&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;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Other&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Infact, I would like to put "Other" at the end. I can't manage the script, so I have to find a solution into properties of chart.&lt;/P&gt;&lt;P&gt;I can't use the alphabetical order, I believe I have to choose the expression order but I have no idea about which function I can use.&lt;/P&gt;&lt;P&gt;Does anyone has an idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marine Le Trionnaire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876420#M305993</guid>
      <dc:creator />
      <dc:date>2015-05-05T09:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876421#M305994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&amp;nbsp; match function in sort tab--&amp;gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(Dimension,'A','B','C','D','Other')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876421#M305994</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2015-05-05T09:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876422#M305995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is "Other" a real value of this dimension or just the cumulation of all values but the first 4?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876422#M305995</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2015-05-05T09:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876423#M305996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;WildMatch(Dimension,'A','B','C','D','Other')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your app if this method do not work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876423#M305996</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-05-05T09:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876424#M305997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try to&lt;/P&gt;&lt;P&gt;sort your dim asc by expression if(Ord(Dimension)&amp;lt;91, Ord(Dimension), 100).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876424#M305997</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2015-05-05T09:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876425#M305998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;For best you can recreate your Dimension in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;If(Field='A',dual('A',1),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Field='B',dual('B',2),&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Field='C',dual('C',3),&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Field='D',dual('D',4),&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Field='Other',dual('&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Other&lt;/SPAN&gt;',5))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876425#M305998</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2015-05-05T09:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876426#M305999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No need any expression To ur requirement.Simply Go to properties&amp;gt;&amp;gt;Sort&amp;gt;&amp;gt;Enable Text as A-Z.&lt;/P&gt;&lt;P&gt;This is enough for to solve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know getting solve or not ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagarjuna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876426#M305999</guid>
      <dc:creator>nagarjuna_kotha</dc:creator>
      <dc:date>2015-05-05T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876427#M306000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Kindly find below attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876427#M306000</guid>
      <dc:creator>nagarjuna_kotha</dc:creator>
      <dc:date>2015-05-05T09:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876428#M306001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you neither want to hard code all possible values in your sort expression, nor will "Other" be your last alphabetical value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I tried to build a generic expression for sorting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this one for the following Inline Table:&lt;/P&gt;&lt;P&gt;if(Dim &amp;lt;&amp;gt; 'Other', Ord(Dim), max(TOTAL Ord(Dim) + 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Dim is your actual Field name for the dimension. Just put this expression in the sort expression field and decide wehter to sort it ascending or descending.&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim, Val&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876428#M306001</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2015-05-05T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876429#M306002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;It seems to be right but I would like to be sure I've really understand how to use this function :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put it : &lt;STRONG&gt;Match(Dimension,'Other')&lt;/STRONG&gt; because the others values could be differents. Sometimes A,B,C, or sometimes M,X... so I can't put A,B,C,D... in this function.&lt;/P&gt;&lt;P&gt;Does this function sorted only values which are mentionned ? For the other values I can add an alphabetical order.&lt;/P&gt;&lt;P&gt;Is it right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marine Le Trionnaire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876429#M306002</guid>
      <dc:creator />
      <dc:date>2015-05-05T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876430#M306003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I tried this expression and it's OK, that was the expression I would like to create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marine Le Trionnaire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 09:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876430#M306003</guid>
      <dc:creator />
      <dc:date>2015-05-05T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sort value in a chart and put "Other" at the end</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876431#M306004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I tried it, it seems to be OK. Like the match function I put WildMatch(Dimension,'Other') and I add an alphabetical order and it's OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marine Le Trionnaire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 10:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-value-in-a-chart-and-put-quot-Other-quot-at-the-end/m-p/876431#M306004</guid>
      <dc:creator />
      <dc:date>2015-05-05T10:03:14Z</dc:date>
    </item>
  </channel>
</rss>

