<?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: Calendar error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845751#M656579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87465_1.png" style="height: 270px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;dual(field, &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(field)=4, date(MakeDate(field)),&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnum(field), date(MakeDate(Left(field,4), num(Right(field,2)))),&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate(Left(field,4), div(Right(field,1),3)+1&lt;/EM&gt;&lt;/STRON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&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2015 17:55:21 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-05-25T17:55:21Z</dc:date>
    <item>
      <title>Calendar error</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845747#M656575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue with the application as there is a cross table expression from that date field(Not a proper date field, just for time representation) is taken.&lt;/P&gt;&lt;P&gt;the format of date field is like this&lt;/P&gt;&lt;P&gt;201501&lt;/P&gt;&lt;P&gt;201502&lt;/P&gt;&lt;P&gt;201503...12&lt;/P&gt;&lt;P&gt;2016Q1&lt;/P&gt;&lt;P&gt;2016Q2...Q4&lt;/P&gt;&lt;P&gt;2017&lt;/P&gt;&lt;P&gt;2018&lt;/P&gt;&lt;P&gt;2019&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On this filed, i need to sort a chart in ascending order of time. But i cant as it is not showing proper date stmap.&lt;/P&gt;&lt;P&gt;Please help finding any solution.&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>Mon, 25 May 2015 15:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845747#M656575</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2015-05-25T15:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar error</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845748#M656576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Text Order will handle proper sorting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 15:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845748#M656576</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-05-25T15:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar error</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845749#M656577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried Text Order Sorting. But its also not giving correct order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 16:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845749#M656577</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2015-05-25T16:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar error</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845750#M656578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you mind sharing your app? &lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 16:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845750#M656578</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-05-25T16:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar error</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845751#M656579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87465_1.png" style="height: 270px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;a:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;dual(field, &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(field)=4, date(MakeDate(field)),&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnum(field), date(MakeDate(Left(field,4), num(Right(field,2)))),&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate(Left(field,4), div(Right(field,1),3)+1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )))) as field&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2016Q1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2016Q2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2016Q3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2016Q4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2019&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201501&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201502&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201503&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201504&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201505&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201506&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201507&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201508&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201509&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201510&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201511&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;201512&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2017&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2018&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 17:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845751#M656579</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-25T17:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar error</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845752#M656580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the explanation massimo.&lt;/P&gt;&lt;P&gt;I have tried 'Match' in the expression for sorting and got the right order for all the values as required.&lt;/P&gt;&lt;P&gt;Exp:&lt;/P&gt;&lt;P&gt;=Match (&lt;SPAN style="text-decoration: underline;"&gt;expr&lt;/SPAN&gt;, vlaue1, value2,......value10)&lt;/P&gt;&lt;P&gt;Here,&lt;/P&gt;&lt;P&gt;Value1 will be given index# 1, value2 will be given index# 2 and so on.&lt;/P&gt;&lt;P&gt;So, by keeping this expression in ascending order had worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 08:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-error/m-p/845752#M656580</guid>
      <dc:creator>shanky1907</dc:creator>
      <dc:date>2015-05-26T08:27:44Z</dc:date>
    </item>
  </channel>
</rss>

