<?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 Sort date with format MM/YYYY in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210891#M65311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Try this...&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;Date&lt;/B&gt;(&lt;B&gt;Date#&lt;/B&gt;(&lt;B&gt;mid&lt;/B&gt;(&lt;B&gt;date&lt;/B&gt;(maydate),4,7), 'M/YYYY'), 'MM/YYYY')&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Dec 2010 12:48:41 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2010-12-02T12:48:41Z</dc:date>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210886#M65306</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 date field built with the expression: mid(date(maydate),4,7) , the result has a format mm/yyyy. When i want to sort this field in my straight table it didn't work.&lt;/P&gt;&lt;P&gt;Someone can help me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Rgds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 11:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210886#M65306</guid>
      <dc:creator />
      <dc:date>2010-12-02T11:23:37Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210887#M65307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Attalah Abdelhamid, use the following expression to sort your value&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;date#('01/' &amp;amp; &lt;I&gt;yourDateField&lt;/I&gt;,'DDMMYYYY')&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Let me signal you also this post to which I replied&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/37633.aspx" target="_blank"&gt;http://community.qlik.com/forums/t/37633.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 11:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210887#M65307</guid>
      <dc:creator>googel84</dc:creator>
      <dc:date>2010-12-02T11:45:18Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210888#M65308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I made a little mistake; the expression is&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;date#('01/' &amp;amp; &lt;I&gt;yourDateField&lt;/I&gt;,'DD/MM/YYYY')&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 11:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210888#M65308</guid>
      <dc:creator>googel84</dc:creator>
      <dc:date>2010-12-02T11:49:52Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210889#M65309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you &lt;STRONG&gt;googel84&lt;/STRONG&gt; for your proposition, i tried your solution but it did not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 12:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210889#M65309</guid>
      <dc:creator />
      <dc:date>2010-12-02T12:27:19Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210890#M65310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please, provide me with more details, a qvw will be very helpful to understand your problem.&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 12:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210890#M65310</guid>
      <dc:creator>googel84</dc:creator>
      <dc:date>2010-12-02T12:41:49Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210891#M65311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Try this...&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;/P&gt;&lt;P style="font-weight: bold; line-height: normal; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;B&gt;Date&lt;/B&gt;(&lt;B&gt;Date#&lt;/B&gt;(&lt;B&gt;mid&lt;/B&gt;(&lt;B&gt;date&lt;/B&gt;(maydate),4,7), 'M/YYYY'), 'MM/YYYY')&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;"&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 12:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210891#M65311</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-12-02T12:48:41Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210892#M65312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you can try &lt;B&gt;dual()&lt;/B&gt; maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;dual(mid(date(maydate),4,7) ,maydate)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;so you can sort by numeric value, because your text is going to be in MM/YYYY format, but the internal value will be a full date&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;PS. by the way the same result that you want can be with date(maydate,'MM/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 13:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210892#M65312</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-12-02T13:21:55Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210893#M65313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u very much mr Héctor,&lt;/P&gt;&lt;P&gt;I have change my initial formulas by Date(mydate,'MM/YYYY') instead of mid(date(mydate),4,7), and then i just made sort by numeric value and it worked.&lt;/P&gt;&lt;P&gt;Thank u Tout le monde:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 18:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210893#M65313</guid>
      <dc:creator />
      <dc:date>2010-12-02T18:48:08Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210894#M65314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice.&lt;/P&gt;&lt;P&gt;Remember flag the topic with the selected solution, to mark it as "Solved"&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 19:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210894#M65314</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-12-02T19:30:59Z</dc:date>
    </item>
    <item>
      <title>Sort date with format MM/YYYY</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210895#M65315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to be clearer, the expression I suggested you was intended to be used to sort your listbox values, so you should have used it selecting the &lt;I&gt;Expression&lt;/I&gt; option on tab &lt;I&gt;Sort&lt;/I&gt; of &lt;I&gt;List Box Properties&lt;/I&gt;.&lt;/P&gt;&lt;P&gt;Probably I hadn't been that clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 09:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-date-with-format-MM-YYYY/m-p/210895#M65315</guid>
      <dc:creator>googel84</dc:creator>
      <dc:date>2010-12-03T09:51:59Z</dc:date>
    </item>
  </channel>
</rss>

