<?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: Custom Sort in a Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360488#M1171705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I've worked with sample data. i.e.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Main:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;LOAD MonthName(F1) as Year,F2 as Value;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04-02-2012, 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03-01-2012, 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05-03-2012, 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;- Take dim as Year and exp as Count of value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;- Sort tab -&amp;gt; Check Y-Value and give ascending order (or) check exp and give exp as =MonthName(Year) select ascending order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hope it helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 10:04:29 GMT</pubDate>
    <dc:creator>jagannalla</dc:creator>
    <dc:date>2012-06-20T10:04:29Z</dc:date>
    <item>
      <title>Custom Sort in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360486#M1171703</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;Is it possible to perform a custom sort in a chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension which shows the Month and the Year - e.g. May 2012 (these appear on the x-axis of the graph)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to display these in calendar order?&amp;nbsp; E.g.&amp;nbsp; Mar 2012, Apr 2012 and May 2012?&amp;nbsp; At the moment, they are appearing in alphabetical order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The options I have are only:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Y-Value&lt;/LI&gt;&lt;LI&gt;State&lt;/LI&gt;&lt;LI&gt;Expression&lt;/LI&gt;&lt;LI&gt;Frequency&lt;/LI&gt;&lt;LI&gt;Numeric Value&lt;/LI&gt;&lt;LI&gt;Text&lt;/LI&gt;&lt;LI&gt;Load Order&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.﻿﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 09:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360486#M1171703</guid>
      <dc:creator />
      <dc:date>2012-06-20T09:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360487#M1171704</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;You can sort this by using Dual Function in backend.&lt;/P&gt;&lt;P&gt;Change the date field in num format and name it as Example "DateNum".Suppose ur dimension field having values as Mar 2012, Apr 2012 is "[Month Year]".&lt;/P&gt;&lt;P&gt;thn u have to write Dual([Month Year],DateNum). This will sort ur [Month Year] field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 09:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360487#M1171704</guid>
      <dc:creator />
      <dc:date>2012-06-20T09:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360488#M1171705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I've worked with sample data. i.e.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Main:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;LOAD MonthName(F1) as Year,F2 as Value;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1, F2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04-02-2012, 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03-01-2012, 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05-03-2012, 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;- Take dim as Year and exp as Count of value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;- Sort tab -&amp;gt; Check Y-Value and give ascending order (or) check exp and give exp as =MonthName(Year) select ascending order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hope it helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 10:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360488#M1171705</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-06-20T10:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360489#M1171706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratibha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about changing the date field to num format within the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Num(Date#([Month Year], 'MMM YYYY')) AS NumericDate&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 10:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360489#M1171706</guid>
      <dc:creator />
      <dc:date>2012-06-20T10:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360490#M1171707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Dont change [Month Year] to num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u must be having a date field in your data model having value like 1/1/2012,1/2/2012 ,1/3/2012..............&lt;/P&gt;&lt;P&gt;that particular date field is required to be changed in number format so that that number sequence can be used by dual function to sequence your [Month Year] field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose ur date field name in data model is "Date1"&lt;/P&gt;&lt;P&gt;you can change ur date field i.e "Date1" to number format by &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(Date1)&amp;nbsp; as DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual([Month Year], DATE) as [Month Year]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 10:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360490#M1171707</guid>
      <dc:creator />
      <dc:date>2012-06-20T10:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360491#M1171708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just assume that F1 column is date field in u r data. Now design your chart according to my suggestions. For your reference i'm attaching my file. Otherwise please upload your sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Hope it helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 10:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360491#M1171708</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-06-20T10:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360492#M1171709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratibha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no date fields in my data.&amp;nbsp; I am extracting the Month/Year from the Filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The filename is structured as: "&lt;EM&gt;Data - Apr 2012.xls&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my script, I am extracting the "&lt;EM&gt;Apr 2012&lt;/EM&gt;".&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the dual method works now and it is now sorting it in the correct order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 11:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Sort-in-a-Chart/m-p/360492#M1171709</guid>
      <dc:creator />
      <dc:date>2012-06-20T11:09:36Z</dc:date>
    </item>
  </channel>
</rss>

