<?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 question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576594#M546102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its possible you dont want the year of the date to affect the month/day field. If so, change the line to &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;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Month(EVTDATE) &amp;amp; '(' &amp;amp; Day(EVTDATE) &amp;amp; ')', MakeDate(1900, Month(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;EVTDATE&lt;/SPAN&gt;), Day(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;EVTDATE&lt;/SPAN&gt;))) As MONTHDAY_ACTIVITY,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 13:47:14 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2014-03-14T13:47:14Z</dc:date>
    <item>
      <title>Sorting question</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576590#M546098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have a couple of date list boxes which are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year - YEAR_ACTIVITY&lt;/P&gt;&lt;P&gt;Month - MONTH_ACTIVITY (sorted by expression MONTH_ACTIVITY_NUM)&lt;/P&gt;&lt;P&gt;Day - MONTHDAY_ACTIVITY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The month/day is shown as JAN(01) JAN(02) etc.&amp;nbsp; However when sorting this it does not load in month and numberical order.&amp;nbsp; (As you can see below). &lt;/P&gt;&lt;P&gt;Can anyone advise on how to load this in month and numerical order, JAN(01) JAN(02) etc? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(If it helps, it is loaded in the script as &lt;STRONG&gt;to_char(vat.EVTDATE,'MON(DD)') as MONTHDAY_&lt;/STRONG&gt;ACTIVITY)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 13:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576590#M546098</guid>
      <dc:creator />
      <dc:date>2014-03-14T13:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting question</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576591#M546099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't sort by text A-&amp;gt;Z help? It seems to work just fine on my end unless i'm missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="test-sort.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55066_test-sort.png" style="width: 620px; height: 496px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 13:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576591#M546099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T13:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting question</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576592#M546100</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;Rather bring in vat.EVTDATE into Qlikview as a date, and use the Month() function to create the month as a dual value and the Day() function to get the day number. To create a month/day field, create a dual value with the month/day as text and the actual date as the value. Assuming you passed EVTDATE into your model, you could use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(EVTDATE) As DATE_ACTIVITY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(EVTDATE) As MONTH_ACTIVITY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Month(EVTDATE) &amp;amp; '(' &amp;amp; Day(EVTDATE) &amp;amp; ')', EVTDATE) As MONTHDAY_ACTIVITY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&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>Fri, 14 Mar 2014 13:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576592#M546100</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-14T13:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting question</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576593#M546101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I must have tried everything apart from that however I am sure I did!&amp;nbsp; It's working now! (Feel a bit silly for asking such a simple question). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 13:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576593#M546101</guid>
      <dc:creator />
      <dc:date>2014-03-14T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting question</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576594#M546102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its possible you dont want the year of the date to affect the month/day field. If so, change the line to &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;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Month(EVTDATE) &amp;amp; '(' &amp;amp; Day(EVTDATE) &amp;amp; ')', MakeDate(1900, Month(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;EVTDATE&lt;/SPAN&gt;), Day(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;EVTDATE&lt;/SPAN&gt;))) As MONTHDAY_ACTIVITY,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 13:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576594#M546102</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-14T13:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting question</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576595#M546103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we have all been there! i'm glad you got that sorted out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 13:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-question/m-p/576595#M546103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T13:51:05Z</dc:date>
    </item>
  </channel>
</rss>

