<?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: Year Month sort in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/1566925#M479127</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;This was quite helpful for me.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2019 12:37:33 GMT</pubDate>
    <dc:creator>nhlakadee84</dc:creator>
    <dc:date>2019-04-09T12:37:33Z</dc:date>
    <item>
      <title>Year Month sort</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/586513#M479123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;In a chart I have a calculated date dimension to get the year and the month, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year &amp;amp; '-' &amp;amp; month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I'm unable to sort this dates, any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 12:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/586513#M479123</guid>
      <dc:creator>andrefpc</dc:creator>
      <dc:date>2014-02-14T12:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month sort</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/586514#M479124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use year * 100 + month, in this way you will have always numbers of 6 digits ex. 201401, 201402 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorting in this way is natural&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 12:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/586514#M479124</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-02-14T12:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month sort</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/586515#M479125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! Worked like a charm, thanks Alessandro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 12:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/586515#M479125</guid>
      <dc:creator>andrefpc</dc:creator>
      <dc:date>2014-02-14T12:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month sort</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/586516#M479126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri,verdana,arial,sans-serif;"&gt;Try this in your sort expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; font-size: 12pt;"&gt;left(yearmonth,4)&amp;amp;Right(yearmonth,2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 12:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/586516#M479126</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2014-02-14T12:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month sort</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/1566925#M479127</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;This was quite helpful for me.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 12:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/1566925#M479127</guid>
      <dc:creator>nhlakadee84</dc:creator>
      <dc:date>2019-04-09T12:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Year Month sort</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/1566952#M479128</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;month is a dual field. With a dual field you can show the string and sort by number.&lt;/P&gt;&lt;P&gt;If you are using monthname(Date) you will get Apr. 2019 for today, depending on your monthname settings and can sort by the numeric values.&lt;/P&gt;&lt;P&gt;If you want to show 2019 - 04 or 04 - 2019 you can load&lt;/P&gt;&lt;P&gt;dual(num(month(Date),'00' &amp;amp; '- ' &amp;amp; year (Date),year(Date)&amp;amp;num(month(Date),'00')) as Monthname&lt;/P&gt;&lt;P&gt;Show your field monthname and sort it by number if not by default.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 13:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Month-sort/m-p/1566952#M479128</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2019-04-09T13:10:53Z</dc:date>
    </item>
  </channel>
</rss>

