<?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: How do I order months in a bar chart chronologically in QlikSense? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856432#M11838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the right side did you drag the Month field to be the first (top) of the list ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86566_Untitled.png" style="height: 295px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 14:19:36 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2015-05-14T14:19:36Z</dc:date>
    <item>
      <title>How do I order months in a bar chart chronologically in QlikSense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856430#M11836</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;How can I order months chronologically in a QlikSense bar chart?&amp;nbsp; I have loaded my data using the month() funcion, so the month names should be in QlikSense's format.&amp;nbsp; None of the sorting options seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikSense so my apologies if this is an obvious question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 00:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856430#M11836</guid>
      <dc:creator />
      <dc:date>2015-05-14T00:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I order months in a bar chart chronologically in QlikSense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856431#M11837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month() produces a dual value in the range 1 (Jan) - 12 (Dec), so the months should sort numerically, as long as the range does not span over a year end. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 05:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856431#M11837</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-14T05:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I order months in a bar chart chronologically in QlikSense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856432#M11838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the right side did you drag the Month field to be the first (top) of the list ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86566_Untitled.png" style="height: 295px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 14:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856432#M11838</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-05-14T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I order months in a bar chart chronologically in QlikSense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856433#M11839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default, when you create a &lt;STRONG&gt;Bar Chart&lt;/STRONG&gt;, it is sorted by the expression / measure value, creating a top-down order.&lt;/P&gt;&lt;P&gt;On the other hand, a &lt;STRONG&gt;Line Chart&lt;/STRONG&gt; is sorted by the dimension if it contains a number (like this case, being months).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="month order.JPG" class="jive-image image-1" src="/legacyfs/online/86577_month order.JPG" style="height: 480px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;If you try to use a &lt;STRONG&gt;Bar Chart&lt;/STRONG&gt;, then just go to the &lt;STRONG&gt;Sorting&lt;/STRONG&gt; tab in the Properties panel to the right as Jonathan pointed out and drag the Month to the 1st place of the list (sorting criteria).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 15:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856433#M11839</guid>
      <dc:creator />
      <dc:date>2015-05-14T15:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I order months in a bar chart chronologically in QlikSense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856434#M11840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for this help!&amp;nbsp; It looks like my issue is that I have broken down the x-axis by year and month (as separate dimensions), which means that if I drag month to the top of my dimensions list, I lose the chronological display that I want as then the data is grouped by each month, with multiple years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve this I have changed my data load to Date#(InvDate, 'MMM-YY') as Date where InvDate is the date serial number in my source code.&amp;nbsp; I do not want day granularity on the x-axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data now displays chronologically, but with a serial number on the x-axis instead of MMM-YYYY.&amp;nbsp; Is there a way to fix this issue?&amp;nbsp; I cannot see a formatting option to alter the display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 18:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856434#M11840</guid>
      <dc:creator />
      <dc:date>2015-05-14T18:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I order months in a bar chart chronologically in QlikSense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856435#M11841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date# is actually an interpretation function rather than a display function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your source data was in YYYY-MMM format you can ensure QLik reads as a date by using :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date#(datefield,'YYYY-MMM')&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this would display with default date format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To control the output/display , wrap it with&lt;STRONG style="text-decoration: underline;"&gt; date()&lt;/STRONG&gt; with the desired format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#(datefield,'YYYY-MMM'),'MMM-YYYY')&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your case you may not even need date# depending if qlik is interpreting the field as a date or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 01:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856435#M11841</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-05-15T01:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I order months in a bar chart chronologically in QlikSense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856436#M11842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&amp;nbsp; I think I've solved my problem by reloading the data using a combo of the date and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;date#&lt;/SPAN&gt; functions as Jonathan suggested.&amp;nbsp; My data is coming from SQL, passed to Excel, and then loaded.&amp;nbsp; Therefore, even though it appears as DD/MM/YYYY in Excel, I believe the data for date is actually stored as a serial number in my source data. (I could have this wrong as I am not an expert!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used the following expressions which seems to fix the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date#(date(InvDate, 'MMM-YYYY'), 'MMM-YYYY') as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;date# function wrapped around, I would get the dates in the correct format, but the bar chart would display, for example, 31 unique bars, each labelled 'May 2014' because QlikSense was reading each day as a unique value, but still formatting them as only MMM-YYYY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again, much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 22:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856436#M11842</guid>
      <dc:creator />
      <dc:date>2015-05-15T22:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I order months in a bar chart chronologically in QlikSense?</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856437#M11843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;worked . thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 18:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-order-months-in-a-bar-chart-chronologically-in/m-p/856437#M11843</guid>
      <dc:creator>nagarajs</dc:creator>
      <dc:date>2015-06-18T18:04:37Z</dc:date>
    </item>
  </channel>
</rss>

