<?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: Incident Date Not in Order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811941#M286582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place the following in sort expression under sort tab of properties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Right([Incident Date],4)&amp;amp;if (left([Incident Date],3)='Jan','01',if (left([Incident Date],3)='Feb','02',if (left([Incident Date],3)='Mar','03',&lt;/P&gt;&lt;P&gt;if (left([Incident Date],3)='Apr','04',if (left([Incident Date],3)='May','05',if (left([Incident Date],3)='Jun','06',if (left([Incident Date],3)='Jul','07',&lt;/P&gt;&lt;P&gt;if (left([Incident Date],3)='Aug','08',if (left([Incident Date],3)='Sep','09',if (left([Incident Date],3)='Oct','10',if (left([Incident Date],3)='Nov','11',&lt;/P&gt;&lt;P&gt;if (left([Incident Date],3)='Dec','12')))))))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2014 06:15:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-25T06:15:46Z</dc:date>
    <item>
      <title>Incident Date Not in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811936#M286577</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;&amp;nbsp;&amp;nbsp; In the attched .qvw, "Incidents By Time" chart &amp;amp; "Harmful Injuries" chart the Incident Date is not in the Time Order. (Jun2014, Jul2014 etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate if you could let me know how to get that order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 05:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811936#M286577</guid>
      <dc:creator />
      <dc:date>2014-11-25T05:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Incident Date Not in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811937#M286578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi！！Could you &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;try&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the following settings!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;[Propaty] - [Sort]tab - cheack[Expression]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Set Expression「Date#([Incident Date],'MMMYYYY')」&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;click[OK]!!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 05:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811937#M286578</guid>
      <dc:creator>kogasawara</dc:creator>
      <dc:date>2014-11-25T05:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incident Date Not in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811938#M286579</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;Go to Sort tab and then check the box &lt;STRONG&gt;Y-value--&amp;gt; Descending &lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 05:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811938#M286579</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-11-25T05:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Incident Date Not in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811939#M286580</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;Try like this, if you do this in script it would be better&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Service,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Type Of Employment],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gender,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAC,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Incident Type],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [First Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Surname,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Type of Worker],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Type of Incident],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Harm,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Injured Workers Manager],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Monthend(Date#([Incident Date], 'MMMYYYY')), 'MMMYYYY') AS [Incident Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#([Incident Date], 'MMMYYYY')) AS Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Incident Category]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;H&gt;&lt;/H&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Converted your string month the numeric month, now use this [Incident Date] as dimension and in sort tab select numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not want to change the script then try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart Properties -&amp;gt; Sort-&amp;gt; Select Expression and give below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date#([Incident Date], 'MMMYYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 05:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811939#M286580</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-11-25T05:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incident Date Not in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811940#M286581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add below in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Incident Date,order&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Aug2014,3&lt;/P&gt;&lt;P&gt;Jul2014,2&lt;/P&gt;&lt;P&gt;Jun2014,1&lt;/P&gt;&lt;P&gt;Oct2014,5&lt;/P&gt;&lt;P&gt;Sep2014,4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;and chart properties -&amp;gt; sort-&amp;gt; expression-&amp;gt;order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 05:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811940#M286581</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-11-25T05:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Incident Date Not in Order</title>
      <link>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811941#M286582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place the following in sort expression under sort tab of properties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Right([Incident Date],4)&amp;amp;if (left([Incident Date],3)='Jan','01',if (left([Incident Date],3)='Feb','02',if (left([Incident Date],3)='Mar','03',&lt;/P&gt;&lt;P&gt;if (left([Incident Date],3)='Apr','04',if (left([Incident Date],3)='May','05',if (left([Incident Date],3)='Jun','06',if (left([Incident Date],3)='Jul','07',&lt;/P&gt;&lt;P&gt;if (left([Incident Date],3)='Aug','08',if (left([Incident Date],3)='Sep','09',if (left([Incident Date],3)='Oct','10',if (left([Incident Date],3)='Nov','11',&lt;/P&gt;&lt;P&gt;if (left([Incident Date],3)='Dec','12')))))))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 06:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incident-Date-Not-in-Order/m-p/811941#M286582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-25T06:15:46Z</dc:date>
    </item>
  </channel>
</rss>

