<?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 Order by monthyear in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953034#M953913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table only with month-year and i have to order, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD &lt;SPAN style="font-size: 13.3333px;"&gt;%MesAño,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Value()&lt;/P&gt;&lt;P&gt;Resident FechasTotales&lt;/P&gt;&lt;P&gt;Order by %MesAño;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i order by &lt;SPAN style="font-size: 13.3333px;"&gt;%MesAño, the result is as the image show&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order&lt;/P&gt;&lt;P&gt;01-2012&lt;/P&gt;&lt;P&gt;01-2013&lt;/P&gt;&lt;P&gt;01-2014&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and not in date order&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;i want to order &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;01-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;02-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;03-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;what kind of order i have to use?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;thank you a lot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Fernando &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2015 15:30:15 GMT</pubDate>
    <dc:creator>fkeuroglian</dc:creator>
    <dc:date>2015-11-20T15:30:15Z</dc:date>
    <item>
      <title>Order by monthyear</title>
      <link>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953034#M953913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a table only with month-year and i have to order, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD &lt;SPAN style="font-size: 13.3333px;"&gt;%MesAño,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Value()&lt;/P&gt;&lt;P&gt;Resident FechasTotales&lt;/P&gt;&lt;P&gt;Order by %MesAño;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i order by &lt;SPAN style="font-size: 13.3333px;"&gt;%MesAño, the result is as the image show&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order&lt;/P&gt;&lt;P&gt;01-2012&lt;/P&gt;&lt;P&gt;01-2013&lt;/P&gt;&lt;P&gt;01-2014&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and not in date order&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;i want to order &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;01-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;02-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;03-2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;what kind of order i have to use?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;thank you a lot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Fernando &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953034#M953913</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-11-20T15:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Order by monthyear</title>
      <link>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953035#M953914</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 would make another field to order by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SUBDFEILD(DATE,'-',2)&lt;/SPAN&gt;&amp;amp;&lt;SPAN style="font-size: 13.3333px;"&gt;SUBDFEILD(DATE,'-',1) as DateOrder&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;201201&lt;/P&gt;&lt;P&gt;201202&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;201301&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;201302&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So 201202 would be less than 201301 so gives you a number to order by.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953035#M953914</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-20T15:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Order by monthyear</title>
      <link>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953036#M953915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort - by Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RIGHT(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;%MesAño, 4) &amp;amp; LEFT(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;%MesAño, 2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953036#M953915</guid>
      <dc:creator>roger_stone</dc:creator>
      <dc:date>2015-11-20T15:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Order by monthyear</title>
      <link>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953037#M953916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Convert Month-Year into Date value and use the order by function or you date field for your order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;%MesAño,'MM-YYYY')) AS MonthYrDate&lt;/STRONG&gt; // It creates date of 1st day of each Month-Year&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953037#M953916</guid>
      <dc:creator />
      <dc:date>2015-11-20T15:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Order by monthyear</title>
      <link>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953038#M953917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam new to the Qlikview. In SQL, we can do like below. I think we do like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;SPAN style="font-size: 13.3333px;"&gt;%MesAño,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Value()&lt;/P&gt;&lt;P&gt;Resident FechasTotales&lt;/P&gt;&lt;P&gt;Order by replace(%MesAño,'-','');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sreeman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Order-by-monthyear/m-p/953038#M953917</guid>
      <dc:creator />
      <dc:date>2015-11-20T16:03:57Z</dc:date>
    </item>
  </channel>
</rss>

