<?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: Fiscal Year - Month Sort Order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594086#M220121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Results in the chart are an aggregation, so to sort Cal_Month directly in chart you need an aggregate expression like:&lt;/P&gt;&lt;P&gt;avg(match(Cal_Month, 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'Jan', 'Feb', 'Mar', 'Apr'))&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 19:21:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-31T19:21:51Z</dc:date>
    <item>
      <title>Fiscal Year - Month Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594080#M220115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to put together a chart to show sales volumes by month for the current and previous year. I am working to a fiscal calendar which runs from May-Apr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is the sort order of the months, as I obviously want these to match the fiscal year May-Apr. I have tried sorting by the following expression&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cal_Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'Jan', 'Feb', 'Mar', 'Apr') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, this gives me the following result;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/52416_Capture.PNG.png" style="width: 620px; height: 157px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Not a clue why this is doing this, and how to get the months to correctly sort from May-Apr!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any help much appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;OBJECT classid="CLSID:A806E1D7-B077-415E-AF08-28AFE10DDF4A" height="211" width="1197"&gt;&lt;PARAM name="DocName" value="D:\QVApps\Live\MintVelvet\MintVelvet_KPI_Pack - DVE 31st Jan.qvw" /&gt;&lt;PARAM name="ObjectID" value="Document\CH558" /&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594080#M220115</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2014-01-31T14:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year - Month Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594081#M220116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danielle &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to do it with DUAL function. Just make sure to keep the default sort order &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 14:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594081#M220116</guid>
      <dc:creator />
      <dc:date>2014-01-31T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year - Month Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594082#M220117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make a calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt; IF( match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Cal_Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'Jan', 'Feb', 'Mar', 'Apr'),&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Cal_Month&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594082#M220117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-31T15:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year - Month Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594083#M220118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukasz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just tried your suggestion and this works when no Year selections are made. However, as soon as I select a year from my calendar, the order of the months changes back to the order shown in my original post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wasn't aware of the Dual function though, so definitely something that I will be able to make use of!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594083#M220118</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2014-01-31T15:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year - Month Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594084#M220119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just tried your suggestion too, and still March is showing as the first month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All very strange, unless there's something I've missed!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 15:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594084#M220119</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2014-01-31T15:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year - Month Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594085#M220120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do use this method though I use it as my last effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;// Load a dummy table to establish &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;// sort order for field "Cal_Month".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;MonthSort:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cal_Month&lt;/P&gt;&lt;P&gt;May&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;&lt;P&gt;Jul&lt;/P&gt;&lt;P&gt;Aug&lt;/P&gt;&lt;P&gt;Sep&lt;/P&gt;&lt;P&gt;Oct&lt;/P&gt;&lt;P&gt;Nov&lt;/P&gt;&lt;P&gt;Dec&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Mar&lt;/P&gt;&lt;P&gt;Apr&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;All Other Tables;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;Drop Table MonthSort;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;------------------------------------------------&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New', Courier, monospace;"&gt;Then you can sort your chart by Load Order.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 19:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594085#M220120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-31T19:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year - Month Sort Order</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594086#M220121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Results in the chart are an aggregation, so to sort Cal_Month directly in chart you need an aggregate expression like:&lt;/P&gt;&lt;P&gt;avg(match(Cal_Month, 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'Jan', 'Feb', 'Mar', 'Apr'))&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 19:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year-Month-Sort-Order/m-p/594086#M220121</guid>
      <dc:creator />
      <dc:date>2014-01-31T19:21:51Z</dc:date>
    </item>
  </channel>
</rss>

