<?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: Date sort order in line chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735678#M538936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 22:17:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-18T22:17:18Z</dc:date>
    <item>
      <title>Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735674#M538932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, this is driving me crazy :S I've tried everything that came to my mind, I combining 2 years in 1 chart using just month-day as dimension, but I cannot manage to get it sorted correctly, I'm already ordering by date field in load script and sort property in the dimension, but still, the dates not matching. Those at the end happen to be those days that were reported just in one year but not the other, any idea on how to solve this? Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: Month([Report Date]) &amp;amp; '-' &amp;amp; Day([Report Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort: Expression -&amp;gt; [Report date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried to create the dimension as text in load script and sort by load order but I'm getting the same result.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" height="45" src="https://community.qlik.com/legacyfs/online/67147_Capture.JPG.jpg" style="width: 733px; height: 44.9258064516129px;" width="733" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 21:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735674#M538932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T21:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735675#M538933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And ther order is TEXT type or NUMERIC type??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be TEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 21:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735675#M538933</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-18T21:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735676#M538934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;none, if numeric, no changes when change it to text goes from A-Z....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 21:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735676#M538934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T21:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735677#M538935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then erased all selection to order and select Expresion, and put[ Report Date]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 21:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735677#M538935</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-18T21:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735678#M538936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 22:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735678#M538936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T22:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735679#M538937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date([Report Date], 'MMM-D')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;as Dimension &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;without special sorting expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 22:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735679#M538937</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-18T22:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735680#M538938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this would be a little tricky to explain, but I'll do my best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the order in your graph is correct. The problem is the new dimension you've created. For example, let's say you pick nov 28. This date is composed by Month = November and day = 28. However, in this new dimension it will concatenate every november that exist in your data model, so included in that Nov 28, there could be included Nov 28 from 2014, from 2013 and so on.&lt;/P&gt;&lt;P&gt;As you correctly pointed out, the last values that appear in your graph only exist in one year but not the other. This make sense, because these are dates that only exist in the &lt;STRONG&gt;most recent year.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So what I'm trying to say is that even if for us is logical that ene - 3 should appear just before ene - 4, for QlikView is different because in the backend is still separating MonthDays from one year from Monthdays from other year.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curious about the correct answer for this, I will keep trying. I hope somebody could enlighten us here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw Numeric Value sort will not work because of what I've explained,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 22:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735680#M538938</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-09-18T22:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735681#M538939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you select just one year it would be sorted as you expect, but I think that what you want is to get the months sorted in the "normal order" (ene, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec) regardless of the selections, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 23:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735681#M538939</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-09-18T23:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735682#M538940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Sort Tab&lt;/P&gt;&lt;P&gt;Select your Calculated Dimension&lt;/P&gt;&lt;P&gt;Write Below in Your Expression&lt;/P&gt;&lt;P&gt;=Date#(Month([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Report &lt;/SPAN&gt;Date]) &amp;amp; '-' &amp;amp; Day([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Report &lt;/SPAN&gt;Date]),'MMM-D')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now sort by Numeric Value Ascending/Descending Order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 08:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735682#M538940</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-19T08:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735683#M538941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right, this all started because they want to be able to compare prior year values in same chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735683#M538941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735684#M538942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manish but it didn't work, it gave me even weirder results&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/67219_Capture.JPG.jpg" style="width: 620px; height: 198px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735684#M538942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T14:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735685#M538943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample data.... please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735685#M538943</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-19T14:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735686#M538944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's is the sample file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735686#M538944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T14:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735687#M538945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change in script as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; date([Report Date],'MMM-DD-YYYY') as [Report Date],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and try again..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735687#M538945</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-19T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735688#M538946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you see the file ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735688#M538946</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-19T14:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735689#M538947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is still not sorted correctly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735689#M538947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T14:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735690#M538948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only change is -dd- by -DD-?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did it but nothing changed.... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735690#M538948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T14:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735691#M538949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you add the year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735691#M538949</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-19T14:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735692#M538950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not the approach I want to overlap both years in 1 chart &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 15:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735692#M538950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date sort order in line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735693#M538951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran in to the same problem. I used &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), 'MMM-YYYY')&amp;nbsp; to resolve my issue. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 11:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-sort-order-in-line-chart/m-p/735693#M538951</guid>
      <dc:creator>travis_craven</dc:creator>
      <dc:date>2016-04-22T11:55:50Z</dc:date>
    </item>
  </channel>
</rss>

