<?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 Month and Year in Order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297608#M581025</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;My file is loaded in this order(MMM YYYY) for 2010 and 2011. How do I sort this in order?&amp;nbsp; Also, when I select 2010/2011 all the months start jumping around in my graphs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APR 2010&amp;nbsp;&amp;nbsp; MAY 2010 &lt;/P&gt;&lt;P&gt;APR 2011&amp;nbsp;&amp;nbsp; MAY 2011&lt;/P&gt;&lt;P&gt;AUG 2010 &lt;/P&gt;&lt;P&gt;AUG 2011 &lt;/P&gt;&lt;P&gt;JAN 2010 &lt;/P&gt;&lt;P&gt;JAN 2011 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2011 18:37:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-13T18:37:09Z</dc:date>
    <item>
      <title>Sort Month and Year in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297608#M581025</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;My file is loaded in this order(MMM YYYY) for 2010 and 2011. How do I sort this in order?&amp;nbsp; Also, when I select 2010/2011 all the months start jumping around in my graphs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APR 2010&amp;nbsp;&amp;nbsp; MAY 2010 &lt;/P&gt;&lt;P&gt;APR 2011&amp;nbsp;&amp;nbsp; MAY 2011&lt;/P&gt;&lt;P&gt;AUG 2010 &lt;/P&gt;&lt;P&gt;AUG 2011 &lt;/P&gt;&lt;P&gt;JAN 2010 &lt;/P&gt;&lt;P&gt;JAN 2011 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 18:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297608#M581025</guid>
      <dc:creator />
      <dc:date>2011-12-13T18:37:09Z</dc:date>
    </item>
    <item>
      <title>Sort Month and Year in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297609#M581026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi samantham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any small application then would be understand well on your issue. If have any attachment then it would be easy to find solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn Cheav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 04:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297609#M581026</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-12-14T04:04:49Z</dc:date>
    </item>
    <item>
      <title>Sort Month and Year in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297610#M581027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Samantham &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its better to find use function monthname(order#(Apr 2011,'MMM YYYY')) and then sort it into Ascending or descending &lt;/P&gt;&lt;P&gt;by ticking on the numeric sort in sort tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do let me know wether it worked &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else u can also use &lt;/P&gt;&lt;P&gt;Exp num(makedate( year(order#(Apr 2011,'MMM YYYY')),Month(order#(Apr 2011,'MMM YYYY')),01))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur sort tab it will solve ur problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do let me know wether it worked &lt;/P&gt;&lt;P&gt;Thnxs &lt;/P&gt;&lt;P&gt;Sachin.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 04:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297610#M581027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-14T04:41:47Z</dc:date>
    </item>
    <item>
      <title>Sort Month and Year in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297611#M581028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Samantham the problem with your output is that ...you are getting the date as String format not as the date format.&lt;/P&gt;&lt;P&gt;So you are getting the desired result.First get the date in no format. for example for the field&lt;/P&gt;&lt;P&gt;Orderdate it may be----date(orderdate,'DD/MM/YYYY') as orderdate1&lt;/P&gt;&lt;P&gt;then fin the &lt;/P&gt;&lt;P&gt;min(orderdate1)&lt;/P&gt;&lt;P&gt;then make a variable $MinDate using the peek function&lt;/P&gt;&lt;P&gt;date(monthstart($(vMinDate) + rowno() - 1), 'MMM-YYYY') AS MonthYear.&lt;/P&gt;&lt;P&gt;This will give you the required result.&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;If any further query than give the attached copy of your application&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;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 04:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297611#M581028</guid>
      <dc:creator>kamalqlik</dc:creator>
      <dc:date>2011-12-14T04:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Month and Year in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297612#M581029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi samantham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right Click on Chart ==&amp;gt; Sort tab ==&amp;gt; Select on Dimension ==&amp;gt; Check on Expression and past this &lt;STRONG&gt;Match(CAPITALIZE(LEFT(TRIM(Months),3)), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))) + (RIGHT(TRIM(Months),4) * 10)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached file also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: &lt;STRONG&gt;Months is the field in format (MMM YYYY).&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn Cheav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 05:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297612#M581029</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-12-14T05:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Month and Year in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297613#M581030</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;Can you help be modify our expression if the Month is in the format MMM-YY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 09:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Month-and-Year-in-Order/m-p/297613#M581030</guid>
      <dc:creator />
      <dc:date>2015-09-18T09:59:25Z</dc:date>
    </item>
  </channel>
</rss>

