<?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 Chart Query - Sorting Dimensions Manually in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419952#M156239</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;Can anyone help me here - I was wondering if there was a way to sort dimension values in a chart manually as opposed to the default chart options (A-Z, Load Order Etc). So if I had a list of "Regions", North, South, East, West, Scotland, Midlands - how would I present the sales totals (purely for example) in a chart where I could put the regions in any order I please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2013 11:38:17 GMT</pubDate>
    <dc:creator>stuwannop</dc:creator>
    <dc:date>2013-05-02T11:38:17Z</dc:date>
    <item>
      <title>Chart Query - Sorting Dimensions Manually</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419952#M156239</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;Can anyone help me here - I was wondering if there was a way to sort dimension values in a chart manually as opposed to the default chart options (A-Z, Load Order Etc). So if I had a list of "Regions", North, South, East, West, Scotland, Midlands - how would I present the sales totals (purely for example) in a chart where I could put the regions in any order I please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 11:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419952#M156239</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-05-02T11:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Query - Sorting Dimensions Manually</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419953#M156240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can sort by expression but this depends on chart type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 11:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419953#M156240</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-05-02T11:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Query - Sorting Dimensions Manually</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419954#M156241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stuart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the document properties you can set the dimension to sort by using an expression.&amp;nbsp; For example:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[NCC.Responsibility Center]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='MIDLANDS',1,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[NCC.Responsibility Center]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='NORTH EAST',2,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[NCC.Responsibility Center]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='NORTH',3,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[NCC.Responsibility Center]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='NORTH WEST',4,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[NCC.Responsibility Center]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='SCOTLAND',5,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[NCC.Responsibility Center]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='SOUTH',6)))))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I hope this helps.&amp;nbsp; If you need any further help then please do not hesitate to contact me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Get In!!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 11:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419954#M156241</guid>
      <dc:creator />
      <dc:date>2013-05-02T11:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Query - Sorting Dimensions Manually</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419955#M156242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can add an addtional field named order and order by that or you can manipulate the region names to order them as desired :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;1. North, 2. South, 3. East, 4. West, 5. Scotland, 6. Midlands&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 11:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419955#M156242</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-05-02T11:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Query - Sorting Dimensions Manually</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419956#M156243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks both - both seem like good things to try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 11:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419956#M156243</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-05-02T11:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Query - Sorting Dimensions Manually</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419957#M156244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;having a nested if for sorting is not a good idea. it is memory consuming and affects perfomance. What if a new region is added? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 11:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419957#M156244</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-05-02T11:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Query - Sorting Dimensions Manually</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419958#M156245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I created a new field in the script assigning a number to the region would that be better? If I did that how would I then show that in the chart? By chart I mean a simple sum table. I don't want Qlik to display 1. North, 2.Midlands etc as there is other stuff I need to sort. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419958#M156245</guid>
      <dc:creator>stuwannop</dc:creator>
      <dc:date>2013-05-02T12:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Query - Sorting Dimensions Manually</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419959#M156246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;much better. &lt;/P&gt;&lt;P&gt;you would use that new field in the sort by expression in the chart. if you have multiple rows with the same region, you probably would use min([Order]) and not simply [Order]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 12:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Query-Sorting-Dimensions-Manually/m-p/419959#M156246</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-05-02T12:11:55Z</dc:date>
    </item>
  </channel>
</rss>

