<?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 a chart Dimension by two specific values first and then take the rest as it is from the Dimension field? [Example provided] in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-a-chart-Dimension-by-two-specific-values-first-and-then/m-p/974373#M333185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe in this way: if([Useful Life] = '&amp;lt;&amp;lt;&amp;lt;Blank&amp;gt;&amp;gt;&amp;gt;', -1, [Useful Life])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2015 10:24:58 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-09-04T10:24:58Z</dc:date>
    <item>
      <title>Sort a chart Dimension by two specific values first and then take the rest as it is from the Dimension field? [Example provided]</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-chart-Dimension-by-two-specific-values-first-and-then/m-p/974371#M333183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Bar chart with following Dimension values in the Useful Life dimension field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In there I would like to sort by values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;&amp;lt;&amp;lt;Blank&amp;gt;&amp;gt;&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and then the rest of the values from the dimension field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to ensure the first bar is &amp;lt;&amp;lt;&amp;lt;Blank&amp;gt;&amp;gt;&amp;gt; followed by &amp;lt;1, and then the rest of the order is by values in the Useful Life field. The rest of the values are numberic so it could be 5, 7, 12. 13, 21 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the Match fun like Match(Useful Life, '&amp;lt;&amp;lt;&amp;lt;Blank&amp;gt;&amp;gt;&amp;gt;, '&amp;lt;1', Useful Life) but it did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 10:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-chart-Dimension-by-two-specific-values-first-and-then/m-p/974371#M333183</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2015-09-04T10:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a chart Dimension by two specific values first and then take the rest as it is from the Dimension field? [Example provided]</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-chart-Dimension-by-two-specific-values-first-and-then/m-p/974372#M333184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the sort tab, enable both Expression and Numeric Value. PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 10:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-chart-Dimension-by-two-specific-values-first-and-then/m-p/974372#M333184</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-09-04T10:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a chart Dimension by two specific values first and then take the rest as it is from the Dimension field? [Example provided]</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-chart-Dimension-by-two-specific-values-first-and-then/m-p/974373#M333185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe in this way: if([Useful Life] = '&amp;lt;&amp;lt;&amp;lt;Blank&amp;gt;&amp;gt;&amp;gt;', -1, [Useful Life])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 10:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-chart-Dimension-by-two-specific-values-first-and-then/m-p/974373#M333185</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-09-04T10:24:58Z</dc:date>
    </item>
  </channel>
</rss>

