<?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: Create a bar chart sorted by month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008017#M946396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, I have "Hire Date" as field showing dd/mm/yy.&amp;nbsp; The records that I am currently working on is approximately about 12,000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have the year as YYYY and the month as MMM to show in the right order.&amp;nbsp; The year should not repeat based on records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the load as per your comments but it gives me an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please show me a step by step process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jan 2016 08:32:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-04T08:32:29Z</dc:date>
    <item>
      <title>Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008009#M946388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I 'm new in qlikview.&amp;nbsp; I have different dates in one of the column and i would like to create a bar chart sorted by month. I appreciate if anyone can help me&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 08:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008009#M946388</guid>
      <dc:creator />
      <dc:date>2015-12-31T08:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008010#M946389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dates are usually stored as number (though showing as date). I suggest sorting your chart on that column by number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 14:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008010#M946389</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-01-03T14:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008011#M946390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post sample data/application to demonstrate with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 15:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008011#M946390</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-01-03T15:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008012#M946391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to calculate a month value from your date column in your load script, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateColumn,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(DateColumn) AS MonthColumn,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM &lt;EM&gt;whereveryouwant&lt;/EM&gt; (&lt;EM&gt;options&lt;/EM&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can create a bar chart with dimension &lt;SPAN style="font-family: 'courier new', courier;"&gt;MonthColumn&lt;/SPAN&gt; and expression &lt;SPAN style="font-family: 'courier new', courier;"&gt;=sum(Amount)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could create a calculated dimension &lt;SPAN style="font-family: 'courier new', courier;"&gt;=Month(MonthColumn)&lt;/SPAN&gt; and use it with the same sum expression. But that won't be the most efficient solution (performance-wise). The script solution is &lt;EM&gt;the-right-thing-to-do&lt;/EM&gt;.&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;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 15:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008012#M946391</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-03T15:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008013#M946392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I attached you an exmaple (but is in spanish language. I'm sorry).&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="110425" alt="P67.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110425_P67.png" style="height: 503px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 17:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008013#M946392</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-01-03T17:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008014#M946393</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;create an inline table with month and month_num field with 1 to 12 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then sort by month_num &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;$@M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 05:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008014#M946393</guid>
      <dc:creator>mightyqlikers</dc:creator>
      <dc:date>2016-01-04T05:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008015#M946394</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;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14518857976401865" jivemacro_uid="_14518857976401865" modifiedtitle="true"&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;LOAD * ,&lt;/P&gt;
&lt;P&gt;Month(Date) As Month,&lt;/P&gt;
&lt;P&gt;Num(Month(Date)) as MonthNum&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, Sales&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/01/2015, 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/02/2015, 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/03/2015, 4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/04/2015, 1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/05/2015, 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/06/2015, 3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&am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t;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11, 11&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12, 12&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;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in the above data the Monthnum_Sort is taken but it also can be done at front end in the bar chart ,Dimension Sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="BarChartMOnth.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110450_BarChartMOnth.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PFA&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;-Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 05:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008015#M946394</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-01-04T05:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008016#M946395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Many thanks.&amp;nbsp; I'll try it out and let you know..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 08:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008016#M946395</guid>
      <dc:creator />
      <dc:date>2016-01-04T08:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008017#M946396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, I have "Hire Date" as field showing dd/mm/yy.&amp;nbsp; The records that I am currently working on is approximately about 12,000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have the year as YYYY and the month as MMM to show in the right order.&amp;nbsp; The year should not repeat based on records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the load as per your comments but it gives me an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please show me a step by step process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 08:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008017#M946396</guid>
      <dc:creator />
      <dc:date>2016-01-04T08:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008018#M946397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Enrique&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 08:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008018#M946397</guid>
      <dc:creator />
      <dc:date>2016-01-04T08:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008019#M946398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fine&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 11:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008019#M946398</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-01-04T11:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008020#M946399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What error message do you get when executing the load script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 11:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008020#M946399</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-04T11:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create a bar chart sorted by month</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008021#M946400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not logged down the error message.&amp;nbsp; I will try to do it again and post the result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 11:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-bar-chart-sorted-by-month/m-p/1008021#M946400</guid>
      <dc:creator />
      <dc:date>2016-01-04T11:30:35Z</dc:date>
    </item>
  </channel>
</rss>

