<?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/Graph Dimension Sort/Order on x Axis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366831#M136421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to create a table with your ranges:&lt;/P&gt;&lt;P&gt;AgingTable:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Seq, From, To, Display&lt;BR /&gt; 1, 0, 18, &amp;lt; 18&lt;BR /&gt; 2, 19, 23, 24-28&lt;BR /&gt; 3, 29, 33, 29-33&lt;BR /&gt; ...&lt;BR /&gt; ...&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Use the IntervalMatch match function to match the age to this table and in the display, use an expression sort on the field 'Seq'&lt;/P&gt;&lt;P&gt;The advantage with this method would be that you can source this info from a 'config' file and do the assignment in the load script itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 16:44:31 GMT</pubDate>
    <dc:creator>malhaar</dc:creator>
    <dc:date>2012-04-02T16:44:31Z</dc:date>
    <item>
      <title>Chart/Graph Dimension Sort/Order on x Axis</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366826#M136416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All (my first post on QView community forum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problems with the sorting of the dimensions on the x axis of a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code for a dimension i have which groups a field i have.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;IMG __jive_id="12363" alt="Code.bmp" class="jive-image" src="https://community.qlik.com/legacyfs/online/12363_Code.bmp" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The graph appears like this. With the ages completely out of order.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="12364" alt="Graph.bmp" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/12364_Graph.bmp" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 13:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366826#M136416</guid>
      <dc:creator />
      <dc:date>2012-03-23T13:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Chart/Graph Dimension Sort/Order on x Axis</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366827#M136417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check attached file for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 14:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366827#M136417</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-03-23T14:43:31Z</dc:date>
    </item>
    <item>
      <title>Chart/Graph Dimension Sort/Order on x Axis</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366828#M136418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have ages 16 - 95. Would i need to create a Load inline for every age? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have around 50 other data items. would i need to create a preceeding load to bring in these additional items ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366828#M136418</guid>
      <dc:creator />
      <dc:date>2012-03-26T08:13:13Z</dc:date>
    </item>
    <item>
      <title>Chart/Graph Dimension Sort/Order on x Axis</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366829#M136419</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;This was suggested to me. But it didnt work. Any Ideas ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;wildmatch&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;=18,'&amp;lt;18',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;23,'19-23',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;28,'24-28',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;33,'29-33',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;39,'34-39',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;45,'40-45',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;50,'46-50',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;55,'51-55',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;60,'56-60',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;65,'61-65',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;70,'66-70',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Driver_1_Age&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;=74,'71-74',&lt;BR /&gt;'75+')))))))))))),'&amp;lt;18','19-23','24-28','29-33','34-39','40-45','46-50','51-55','56-60','61-65','66-70','71-74','75+') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 15:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366829#M136419</guid>
      <dc:creator />
      <dc:date>2012-04-02T15:33:50Z</dc:date>
    </item>
    <item>
      <title>Chart/Graph Dimension Sort/Order on x Axis</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366830#M136420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use a 'dual' function in your calcualted dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If (Driver_1_Age&amp;lt;=18, dual('&amp;lt;18',1),&lt;/P&gt;&lt;P&gt;If (Driver_1_Age&amp;lt;23, dual('&amp;lt;23',2),&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then sort numerically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 15:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366830#M136420</guid>
      <dc:creator>mikecrengland</dc:creator>
      <dc:date>2012-04-02T15:43:11Z</dc:date>
    </item>
    <item>
      <title>Chart/Graph Dimension Sort/Order on x Axis</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366831#M136421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to create a table with your ranges:&lt;/P&gt;&lt;P&gt;AgingTable:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Seq, From, To, Display&lt;BR /&gt; 1, 0, 18, &amp;lt; 18&lt;BR /&gt; 2, 19, 23, 24-28&lt;BR /&gt; 3, 29, 33, 29-33&lt;BR /&gt; ...&lt;BR /&gt; ...&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Use the IntervalMatch match function to match the age to this table and in the display, use an expression sort on the field 'Seq'&lt;/P&gt;&lt;P&gt;The advantage with this method would be that you can source this info from a 'config' file and do the assignment in the load script itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 16:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Graph-Dimension-Sort-Order-on-x-Axis/m-p/366831#M136421</guid>
      <dc:creator>malhaar</dc:creator>
      <dc:date>2012-04-02T16:44:31Z</dc:date>
    </item>
  </channel>
</rss>

