<?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: Sorting chart by month name but chronologically in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-chart-by-month-name-but-chronologically/m-p/1807598#M65736</link>
    <description>&lt;P&gt;For some reason when I sorted by expression and used Date or Month-Year, it wouldn't work.&lt;/P&gt;&lt;P&gt;It just worked using de field Year Date:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_0-1620888707071.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54890i9BD63A9347CFDE74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_0-1620888707071.png" alt="ruben_moya_0-1620888707071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 06:53:14 GMT</pubDate>
    <dc:creator>ruben_moya</dc:creator>
    <dc:date>2021-05-13T06:53:14Z</dc:date>
    <item>
      <title>Sorting chart by month name but chronologically</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-chart-by-month-name-but-chronologically/m-p/1807252#M65697</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I've got the following chart, where we compare sales of the current year with the sales of the previous year. If I select the whole year:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_0-1620814185722.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54783iB5C27BF9FF499691/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_0-1620814185722.png" alt="ruben_moya_0-1620814185722.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In that chart, we use just the month of the date because otherwise the sales for each month wouldn't be shown next to each other:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_1-1620814380814.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54784iC9D72412309071B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_1-1620814380814.png" alt="ruben_moya_1-1620814380814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My problem is that when we select a period of time that include months from different years (ie: September 2020 to February 2021) the dates doesn't apparead sorted chronologically:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_2-1620814709630.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54786i5BE6FFA109F015F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_2-1620814709630.png" alt="ruben_moya_2-1620814709630.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Result: Jan-Feb-Sep-Oct-Nov-Dec&lt;/P&gt;&lt;P&gt;Goal:&amp;nbsp;Sep-Oct-Nov-Dec-Jan-Feb&lt;/P&gt;&lt;P&gt;I've tried to sort the chart using the date field by expression, but doesn't work. The only way to sort it chronologically seems to be by using a data format that also contain the year on it.&lt;/P&gt;&lt;P&gt;Dimensions:&lt;/P&gt;&lt;P&gt;Billing_Date&lt;/P&gt;&lt;P&gt;Billing_Year&lt;/P&gt;&lt;P&gt;Billing_Month&lt;/P&gt;&lt;P&gt;Measures:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum(total_sales)&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Billing_Year=,Billing_Date= {'&amp;gt;=01/09/2019&amp;lt;=28/02/2020'}&amp;gt;}total_sales )&lt;/P&gt;&lt;P&gt;Does anyone know if there is any way to sort a chart chronologically but using as a dimension just the names of the month (so I can join the data from this year and the previous one)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 10:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-chart-by-month-name-but-chronologically/m-p/1807252#M65697</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2021-05-12T10:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting chart by month name but chronologically</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-chart-by-month-name-but-chronologically/m-p/1807598#M65736</link>
      <description>&lt;P&gt;For some reason when I sorted by expression and used Date or Month-Year, it wouldn't work.&lt;/P&gt;&lt;P&gt;It just worked using de field Year Date:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ruben_moya_0-1620888707071.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54890i9BD63A9347CFDE74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ruben_moya_0-1620888707071.png" alt="ruben_moya_0-1620888707071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 06:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-chart-by-month-name-but-chronologically/m-p/1807598#M65736</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2021-05-13T06:53:14Z</dc:date>
    </item>
  </channel>
</rss>

