<?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 Sorting Months (Jan-Dec) having data from many years. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228389#M80425</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;I am little struck up with problem. Need your help. Here goes the description:&lt;/P&gt;&lt;P&gt;I have a filed "Months " which is having three years of data i.e like Jan-09,Aug-09,Mar-09,Dec-10,May-10,Mar-11,Jun-11 etc. I am using this field in the Dimension of Charts. It is working all fine but the problem is with sort. Ideally, it should show like Jan-09 through Dec-09 and then Jan-10 through Dec-10 . But now it is sorting in some random fashion. I have shown the problem below. Need to get it sorted properly.Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1961_sourceID:1961" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jul 2010 17:01:48 GMT</pubDate>
    <dc:creator>montubhardwaj</dc:creator>
    <dc:date>2010-07-20T17:01:48Z</dc:date>
    <item>
      <title>Sorting Months (Jan-Dec) having data from many years.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228389#M80425</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;I am little struck up with problem. Need your help. Here goes the description:&lt;/P&gt;&lt;P&gt;I have a filed "Months " which is having three years of data i.e like Jan-09,Aug-09,Mar-09,Dec-10,May-10,Mar-11,Jun-11 etc. I am using this field in the Dimension of Charts. It is working all fine but the problem is with sort. Ideally, it should show like Jan-09 through Dec-09 and then Jan-10 through Dec-10 . But now it is sorting in some random fashion. I have shown the problem below. Need to get it sorted properly.Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1961_sourceID:1961" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 17:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228389#M80425</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2010-07-20T17:01:48Z</dc:date>
    </item>
    <item>
      <title>Sorting Months (Jan-Dec) having data from many years.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228390#M80426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a field like this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;dual(Month(cNumDate) &amp;amp; '-' &amp;amp; Year(cNumDate), num(Year(cNumDate) &amp;amp; num(Month(cNumDate), '00'))) as cYearMonth&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;After this you can sort this field as Numeric Value. See attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 17:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228390#M80426</guid>
      <dc:creator />
      <dc:date>2010-07-20T17:53:53Z</dc:date>
    </item>
    <item>
      <title>Sorting Months (Jan-Dec) having data from many years.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228391#M80427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i prefer this way&lt;/P&gt;&lt;PRE&gt;dual(Month(cNumDate) &amp;amp; '-' &amp;amp; Year(cNumDate), Year(cNumDate)*100 + Month(cNumDate)) as cYearMonth&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then sort by numeric value&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 19:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228391#M80427</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-07-20T19:31:51Z</dc:date>
    </item>
    <item>
      <title>Sorting Months (Jan-Dec) having data from many years.</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228392#M80428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You very much Guys!!&lt;/P&gt;&lt;P&gt;Your solution worked perfectly.... Kudos...!!! &lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 09:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Months-Jan-Dec-having-data-from-many-years/m-p/228392#M80428</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2010-07-21T09:00:36Z</dc:date>
    </item>
  </channel>
</rss>

