<?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: Sorting a the Month Dimension in a Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713679#M1083984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use the Month() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Month(KeyDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and sort numeric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 13:16:45 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-06-19T13:16:45Z</dc:date>
    <item>
      <title>Sorting a the Month Dimension in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713677#M1083982</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;I have a chart which is meant to show Dimension - Month Names and the measures. shown below&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="jive-image" height="276" src="https://community.qlik.com/legacyfs/online/60875_Sample.png" width="449" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a Field Called KeyDate (a number) and using a calculated Dimension =Text(Date(KeyDate,'MMM')) which returns the Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to use the function Month Name as I don't want the Year appended after the month E:g I want Jan instead of Jan 2014. The reason being Series 1 is for Year 2014 and Series 2 is for Year 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is that when I use the above function QV is sorting them as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dec, Jan, Feb .... Nov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using Sort by Numeric and that doesn't seem to do the trick. I also tried using Sort by expression where my expression is&lt;/P&gt;&lt;P&gt;Month(KeyDate) which I expect would return an integer for the month. No luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts and advise would be 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>Thu, 19 Jun 2014 13:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713677#M1083982</guid>
      <dc:creator />
      <dc:date>2014-06-19T13:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a the Month Dimension in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713678#M1083983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's because you are using text around the date, which is stripping the number off of it. Why not just use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Month(KeyDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;as your calculated dimension? It will return months like Jan, Feb, Mar, etc. Which is the same format you want, but yet retains the dual format of a date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713678#M1083983</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-06-19T13:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a the Month Dimension in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713679#M1083984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use the Month() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Month(KeyDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and sort numeric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713679#M1083984</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-19T13:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a the Month Dimension in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713680#M1083985</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;check this thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/12164"&gt;http://community.qlik.com/thread/12164&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713680#M1083985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-19T13:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a the Month Dimension in a Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713681#M1083986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amazed by the support I get in this community !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-a-the-Month-Dimension-in-a-Chart/m-p/713681#M1083986</guid>
      <dc:creator />
      <dc:date>2014-06-19T13:29:25Z</dc:date>
    </item>
  </channel>
</rss>

