<?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: Month Sorting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812483#M1030899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In object properties sort tab select the dimension and in expression write below&lt;/P&gt;&lt;P&gt;=num(month(datefield))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:$@M"&gt;$@M&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2015 10:59:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-03T10:59:40Z</dc:date>
    <item>
      <title>Month Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812481#M1030897</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;&lt;/P&gt;&lt;P&gt;I have a list box with "Month(DateField)" value. I would like to sort my months in a cronological order (Jan - Dec).&lt;/P&gt;&lt;P&gt;How can i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 10:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812481#M1030897</guid>
      <dc:creator />
      <dc:date>2015-02-03T10:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Month Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812482#M1030898</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;Month() returns a dual value, so you should sort on numerical value to get a chronological order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 10:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812482#M1030898</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-03T10:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Month Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812483#M1030899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In object properties sort tab select the dimension and in expression write below&lt;/P&gt;&lt;P&gt;=num(month(datefield))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:$@M"&gt;$@M&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 10:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812483#M1030899</guid>
      <dc:creator />
      <dc:date>2015-02-03T10:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Month Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812484#M1030901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tumelo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you are using an expression in your listbox rather than a field, you'll need to use an expression to sort (as samapthbotla has said).&lt;/P&gt;&lt;P&gt;I would recommend actually creating a month field in your script, based on your existing code, so just&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Month(DateField) AS Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then just use the field in the listbox and as Jonathan has says, at that point you'll be able to use the standard number sorting option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you are pushing the overhead back into the script, rather than in the UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 11:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812484#M1030901</guid>
      <dc:creator />
      <dc:date>2015-02-03T11:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Month Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812485#M1030903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your replies. The month is ordered accordingly. But when concaternate another clculation to the field the months loses the ordering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way to keep the ordering after using &amp;amp;''&amp;amp; to add another calculation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 12:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Sorting/m-p/812485#M1030903</guid>
      <dc:creator />
      <dc:date>2015-02-03T12:00:26Z</dc:date>
    </item>
  </channel>
</rss>

