<?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 Date Ordering in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316136#M116624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you don't want to mess with dates and ordering, you can use the format YYYY-MM but with two digit-numeric months (2012-01, 2012-02,... 2012-12 )&lt;/P&gt;&lt;P&gt;No more messing - it just works without further finetuning &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 11:19:30 GMT</pubDate>
    <dc:creator>ekech_infomotio</dc:creator>
    <dc:date>2012-01-30T11:19:30Z</dc:date>
    <item>
      <title>Date Ordering</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316135#M116623</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;I submitted a question early about formatting a date field as a new field with format mm-yyyy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;I got a response which worked which was &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00ccff;"&gt;Create a field like below in your table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00ccff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00ccff;"&gt;Month(Date_Field) &amp;amp; '/' &amp;amp; Year(Date_Field) AS MonthYear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00ccff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #00ccff;"&gt;so that you can use the MonthYear field in your graphs as dimensions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when i load them new field in a list box, i can not sort the dates in order. I want it to be jan-11, feb-11 ..... jan-12 ....., the best i can get is jan-11, jan-12, feb -11, feb-12!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 11:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316135#M116623</guid>
      <dc:creator />
      <dc:date>2012-01-30T11:14:40Z</dc:date>
    </item>
    <item>
      <title>Date Ordering</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316136#M116624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you don't want to mess with dates and ordering, you can use the format YYYY-MM but with two digit-numeric months (2012-01, 2012-02,... 2012-12 )&lt;/P&gt;&lt;P&gt;No more messing - it just works without further finetuning &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Edgar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 11:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316136#M116624</guid>
      <dc:creator>ekech_infomotio</dc:creator>
      <dc:date>2012-01-30T11:19:30Z</dc:date>
    </item>
    <item>
      <title>Date Ordering</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316137#M116625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The problem with that is that it doesnt group the data i have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jan-11&lt;/P&gt;&lt;P&gt;jan-11&lt;/P&gt;&lt;P&gt;jan-11&lt;/P&gt;&lt;P&gt;feb-11&lt;/P&gt;&lt;P&gt;feb-11&lt;/P&gt;&lt;P&gt;mar-11&lt;/P&gt;&lt;P&gt;apr-11&lt;/P&gt;&lt;P&gt;apr-11&lt;/P&gt;&lt;P&gt;apr-11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if that makes sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 11:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316137#M116625</guid>
      <dc:creator />
      <dc:date>2012-01-30T11:23:31Z</dc:date>
    </item>
    <item>
      <title>Date Ordering</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316138#M116626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;If you use Monthname(Date) it will result you Jan-2012,Feb-2012 etc and you can be able to sort it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 11:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316138#M116626</guid>
      <dc:creator>vijay_iitkgp</dc:creator>
      <dc:date>2012-01-30T11:26:58Z</dc:date>
    </item>
    <item>
      <title>Date Ordering</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316139#M116627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date(monthstart($(Date_Field) + rowno() - 1), 'MMM-YYYY') AS MonthYear.&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;Try this it will give you dyanamic results&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>Mon, 30 Jan 2012 12:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316139#M116627</guid>
      <dc:creator>kamalqlik</dc:creator>
      <dc:date>2012-01-30T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Date Ordering</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316140#M116628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laurahowarth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Best Practice is to create a Calender than have a Date Field else create a Date Field and Map that Date Field with Your Fact Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your Problem here is the Solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st Step: try to create a Date column (DD-MM-YYYY)&lt;/P&gt;&lt;P&gt;2nd Step: FromThat Date Create Your Field through this Logic below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date#( trim(Month(Date) &amp;amp; '-' &amp;amp; RIGHT(year(Date),2)),'MMM-YY') as YearMonth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you Use this YearMonth Colum this will be Automatically Sorted as You want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================&lt;/P&gt;&lt;P&gt;else you can create a MonthNum and in Front end you can Sort that column with MonthNum Column in Sot Tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2012 12:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Ordering/m-p/316140#M116628</guid>
      <dc:creator />
      <dc:date>2012-02-03T12:29:48Z</dc:date>
    </item>
  </channel>
</rss>

