<?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: Struggling with Month Sorting in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Struggling-with-Month-Sorting/m-p/1247300#M24943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should simplify your first dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first chart:&amp;nbsp;&amp;nbsp; Month( [Admitted Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second chart:&amp;nbsp;&amp;nbsp; Month( AddMonths( [Admitted Date] , 6 ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then turn off "Use continuous scale" and then the month names come on your X-axis in the right order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-01-13 22_52_32-Program Manager.png" class="jive-image image-1" height="500" src="/legacyfs/online/149459_2017-01-13 22_52_32-Program Manager.png" style="height: 500px; width: 184.892px;" width="185" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-01-13 22_55_17-Qlik Sense Desktop.png" class="jive-image image-2" height="243" src="/legacyfs/online/149460_2017-01-13 22_55_17-Qlik Sense Desktop.png" style="height: 243.339px; width: 642px;" width="642" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jan 2017 21:56:07 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2017-01-13T21:56:07Z</dc:date>
    <item>
      <title>Struggling with Month Sorting</title>
      <link>https://community.qlik.com/t5/App-Development/Struggling-with-Month-Sorting/m-p/1247299#M24942</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 struggling with Month sorting in QLIK SENSE 3.1&amp;nbsp; for couple of days , I found solutions from this community, but it seems not works with me.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Also, I found DUAL function in QLIK Sense 3.1 is a little bit different from what said on documents.&amp;nbsp; Which said on documents is DUAL(text,num) , but it looks&amp;nbsp; work as DUAL(num,text).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So would you please help me out,thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My&amp;nbsp; data model is:&lt;/P&gt;&lt;P&gt;Admit:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Admitted Date",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as&amp;nbsp; "admission" &lt;/P&gt;&lt;P&gt;FROM [lib://QVD files (sog_wangj00)/INMR.qvd]&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;where year([Admitted Date])&amp;gt;=2014&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare the number by Month for each year like below chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="m1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149445_m1.PNG" style="height: 475px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's not sort by month number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put 2 dimensions:&lt;/P&gt;&lt;P&gt;dimension-1 : Month&lt;/P&gt;&lt;P&gt;dual(month([Admitted Date]),text(month([Admitted Date])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension-2 : Year&lt;/P&gt;&lt;P&gt;year([Admitted Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I also put the sorting as numeric:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="m2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/149446_m2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 20:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Struggling-with-Month-Sorting/m-p/1247299#M24942</guid>
      <dc:creator />
      <dc:date>2017-01-13T20:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Month Sorting</title>
      <link>https://community.qlik.com/t5/App-Development/Struggling-with-Month-Sorting/m-p/1247300#M24943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should simplify your first dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first chart:&amp;nbsp;&amp;nbsp; Month( [Admitted Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second chart:&amp;nbsp;&amp;nbsp; Month( AddMonths( [Admitted Date] , 6 ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then turn off "Use continuous scale" and then the month names come on your X-axis in the right order:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-01-13 22_52_32-Program Manager.png" class="jive-image image-1" height="500" src="/legacyfs/online/149459_2017-01-13 22_52_32-Program Manager.png" style="height: 500px; width: 184.892px;" width="185" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-01-13 22_55_17-Qlik Sense Desktop.png" class="jive-image image-2" height="243" src="/legacyfs/online/149460_2017-01-13 22_55_17-Qlik Sense Desktop.png" style="height: 243.339px; width: 642px;" width="642" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 21:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Struggling-with-Month-Sorting/m-p/1247300#M24943</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-01-13T21:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Month Sorting</title>
      <link>https://community.qlik.com/t5/App-Development/Struggling-with-Month-Sorting/m-p/1247301#M24944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much, it works perfectly !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI , for 2nd chart, i did a little tweak to show Month Name in Fiscal order.&amp;nbsp;&amp;nbsp; for Instance: our Fiscal month is : Jul,Aug,Sept,Oct,Nov,Dec,Jan,Feb,Mar,Apr,May,Jun.&amp;nbsp; &lt;/P&gt;&lt;P&gt;i put&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dual(month([Admitted Date]),month(addmonths([Admitted Date],6)))&amp;nbsp;&amp;nbsp; as dimension,&amp;nbsp; and also turn off "Use Continuous Scale"&amp;nbsp; , it works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jan 2017 00:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Struggling-with-Month-Sorting/m-p/1247301#M24944</guid>
      <dc:creator />
      <dc:date>2017-01-14T00:24:50Z</dc:date>
    </item>
  </channel>
</rss>

