<?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: List months in calander date order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552211#M549214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try to &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;order by numeric value in sort tab&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 16:59:07 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-01-22T16:59:07Z</dc:date>
    <item>
      <title>List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552209#M549212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This little thing is really starting to bug me.&amp;nbsp; I have a list box of months and I want them in calander date order, can anyone advise how to get this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 16:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552209#M549212</guid>
      <dc:creator />
      <dc:date>2014-01-22T16:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552210#M549213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort the month field in numeric order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is held as a dual value that combines text and a hidden number.&lt;/P&gt;&lt;P&gt;Use num(month) to see the numeric value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 16:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552210#M549213</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-01-22T16:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552211#M549214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try to &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;order by numeric value in sort tab&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 16:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552211#M549214</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-22T16:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552212#M549215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way to manage months is with the relative year for example dec 2013 is 201312, in this way you can sort by year and by month, can you explain better the type of data you have?&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, 22 Jan 2014 17:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552212#M549215</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-01-22T17:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552213#M549216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried those but doesn't seem to work.&amp;nbsp; The table I have is MONTH_CREATED which is pulling through the month in a text format from a CRM database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only seems to like sorting it in alphabetical order........is there an expression that can be used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51925_Untitled.png" style="width: 620px; height: 388px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 17:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552213#M549216</guid>
      <dc:creator />
      <dc:date>2014-01-22T17:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552214#M549217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MONTH_CREATED&lt;/SPAN&gt;,'FORMAT') as sorting expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 17:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552214#M549217</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-01-22T17:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552215#M549218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;last resort, but i prefer Clever Anjos solution is sort by expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MONTH_CREATED&lt;/SPAN&gt;, 'JAN', 'FEB', ........., 'DEC')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 17:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552215#M549218</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-22T17:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552216#M549219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use ordenation by expresion: ... Num(Month)&amp;nbsp; .... because is the number of month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 18:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552216#M549219</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-03T18:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552217#M549220</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 said it yourself: your month is loaded as text thus QlikView doesn't recognize it as a month value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14097798807083554" jivemacro_uid="_14097798807083554"&gt;
&lt;P&gt;SQL SELECT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;...,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; MONTH_CREATED&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;
&lt;P&gt;FROM your DB;&lt;/P&gt;



&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14097798806809183" jivemacro_uid="_14097798806809183"&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;Month(Date#(MONTH_CREATED, 'MMM')) as MONTH_CREATED&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;SQL SELECT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MONTH_CREATED,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...,&lt;/P&gt;
&lt;P&gt;FROM your DB;&lt;/P&gt;



&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see also the demo app attached:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="65848" alt="QlikCommunity_Thread_131xxx_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/65848_QlikCommunity_Thread_131xxx_Pic1.JPG.jpg" style="width: 620px; height: 221px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't correct the load script, you will have to implement some of the former proposed sorting expressions to correct this behaviour in each and every use case of this field !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 21:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552217#M549220</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-03T21:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552218#M549221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the dual function when loading the month in your script to assign for each month a number representing the order (Jan having number 1, Feb 2, March 3 etc...) and then when you want to sort the month, go to sort tab and sort it by numeric value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 10:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552218#M549221</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2014-09-04T10:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: List months in calander date order</title>
      <link>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552219#M549222</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;Try this in your sort tab expression.&lt;/P&gt;&lt;P&gt;=Dual("Your Month Field",match("Your Month Field" ,'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 11:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-months-in-calander-date-order/m-p/552219#M549222</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-09-04T11:03:32Z</dc:date>
    </item>
  </channel>
</rss>

