<?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 Sort bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405505#M566189</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 have created a bar chart, and I want to sort the bars in a specific order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sort by "Region" - "Office", like this:&lt;/P&gt;&lt;P&gt;RegionA - Atalanta&lt;/P&gt;&lt;P&gt;RegionA - Colorado&lt;/P&gt;&lt;P&gt;RegionB - Boston&lt;/P&gt;&lt;P&gt;... without showing the Region in the labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to sort by any expression that includes the region's alphabetical order? Right now I can only sort at the office alphabetical order: Atalanta, Boston, Colorado...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2012 14:05:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-12-04T14:05:08Z</dc:date>
    <item>
      <title>Sort bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405505#M566189</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 have created a bar chart, and I want to sort the bars in a specific order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sort by "Region" - "Office", like this:&lt;/P&gt;&lt;P&gt;RegionA - Atalanta&lt;/P&gt;&lt;P&gt;RegionA - Colorado&lt;/P&gt;&lt;P&gt;RegionB - Boston&lt;/P&gt;&lt;P&gt;... without showing the Region in the labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to sort by any expression that includes the region's alphabetical order? Right now I can only sort at the office alphabetical order: Atalanta, Boston, Colorado...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 14:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405505#M566189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-04T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sort bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405506#M566190</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; Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort tab-&amp;gt;expression&lt;/P&gt;&lt;P&gt;=SubField(FieldName,'-',2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 14:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405506#M566190</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-12-04T14:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sort bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405507#M566191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately it doesn't work as the SubField function slices the array first, and sorts after that... Still the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do this in another way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 14:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405507#M566191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-04T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sort bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405508#M566192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Filip,&lt;/P&gt;&lt;P&gt;Try to eliminate only 'Region' in sort expression:&lt;/P&gt;&lt;P&gt;repalce(FieldName, 'Region', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 14:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405508#M566192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-04T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sort bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405509#M566193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or, is it that Region and City are two separate fields, and you want to use City as label but sort by Region/City combination?&amp;nbsp; If yes, try to sort by expression&lt;/P&gt;&lt;P&gt;=Region &amp;amp; City&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagas,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 15:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405509#M566193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-04T15:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sort bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405510#M566194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, exactly as you writes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still, the diagram doesn't load the bars in this order...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 15:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405510#M566194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-04T15:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sort bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405511#M566195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, it doesn't work...&lt;/P&gt;&lt;P&gt;You best bet is to create an additional field Order in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LEFT &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;JOIN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (table) &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;City&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Rowno&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Order&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; table&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ORDER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;BY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;City&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, use it in sort expression:&lt;/P&gt;&lt;P&gt;=Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 15:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405511#M566195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-04T15:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sort bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405512#M566196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I also found a solution with an inline table:&lt;/P&gt;&lt;P&gt;&lt;A class="loading active_link" href="http://www.qlikfix.com/2010/10/25/creating-a-custom-sort-order/" title="http://www.qlikfix.com/2010/10/25/creating-a-custom-sort-order/"&gt;http://www.qlikfix.com/2010/10/25/creating-a-custom-sort-order/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still, I don't think this is a very good solution. Why do I have to create a field, just to make my dimension sort from any other field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help though! Really appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 15:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-bar-chart/m-p/405512#M566196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-04T15:48:05Z</dc:date>
    </item>
  </channel>
</rss>

