<?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 to sort date in MMM/YYYY format in Proper Order in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530471#M38176</link>
    <description>&lt;P&gt;How about if you do this&lt;/P&gt;&lt;PRE&gt;Date(&lt;FONT color="#FF0000"&gt;MonthStart(&lt;/FONT&gt;Date#(Left(dim_date, 8), 'YYYYMMDD')&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;, 'MMM/YYYY') as MonthYearCampDate,&lt;/PRE&gt;</description>
    <pubDate>Tue, 15 Jan 2019 13:27:44 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-01-15T13:27:44Z</dc:date>
    <item>
      <title>How to sort date in MMM/YYYY format in Proper Order</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530361#M38164</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently working on a dashboard which has couple of line charts to display data over months. The x-axis shows the dimension in MMM/YYYY format (Aug/2019, for example). When i am trying to sort it by expression = Year, it is not sorting is properly (See file attached).&lt;/P&gt;&lt;P&gt;How can i fix this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530361#M38164</guid>
      <dc:creator>vipul_narang</dc:creator>
      <dc:date>2024-11-16T06:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort date in MMM/YYYY format in Proper Order</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530369#M38166</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;What data type is your month dimension in the data model? Date or string?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 10:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530369#M38166</guid>
      <dc:creator>astoulov</dc:creator>
      <dc:date>2019-01-15T10:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort date in MMM/YYYY format in Proper Order</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530386#M38168</link>
      <description>&lt;P&gt;In case you have time dimension in Date format you can create master item MonthYear:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MonthSort.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3754i2DA567DB5B09FAF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="MonthSort.jpg" alt="MonthSort.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 11:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530386#M38168</guid>
      <dc:creator>astoulov</dc:creator>
      <dc:date>2019-01-15T11:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort date in MMM/YYYY format in Proper Order</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530389#M38169</link>
      <description>&lt;P&gt;Thanks for a quick response Astoulov.&lt;/P&gt;&lt;P&gt;The data type for Month field is date type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am extracting the MMM/YYYY field on the script level itself using following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Month(Date(date#(left(dim_date, 8), 'YYYYMMDD'))) &amp;amp; '/' &amp;amp; Year(Date(date#(left(dim_date, 8), 'YYYYMMDD'))) as MonthYearCampDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 11:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530389#M38169</guid>
      <dc:creator>vipul_narang</dc:creator>
      <dc:date>2019-01-15T11:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort date in MMM/YYYY format in Proper Order</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530427#M38172</link>
      <description>&lt;P&gt;Right now what you have is being extracted as text, try this instead&lt;/P&gt;&lt;PRE&gt;Date(Date#(Left(dim_date, 8), 'YYYYMMDD'), 'MMM/YYYY') as MonthYearCampDate,&lt;/PRE&gt;&lt;P&gt;Now the above is a dual field, it has a numeric value with text representation in the form of Jan/2019. Now MonthYearCampDate can be sorted numerically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 12:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530427#M38172</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-15T12:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort date in MMM/YYYY format in Proper Order</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530464#M38174</link>
      <description>&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;P&gt;I tried this but it changed the line chart. any suggestions how to fix this?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 13:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530464#M38174</guid>
      <dc:creator>vipul_narang</dc:creator>
      <dc:date>2019-01-15T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort date in MMM/YYYY format in Proper Order</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530471#M38176</link>
      <description>&lt;P&gt;How about if you do this&lt;/P&gt;&lt;PRE&gt;Date(&lt;FONT color="#FF0000"&gt;MonthStart(&lt;/FONT&gt;Date#(Left(dim_date, 8), 'YYYYMMDD')&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;, 'MMM/YYYY') as MonthYearCampDate,&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Jan 2019 13:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530471#M38176</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-15T13:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort date in MMM/YYYY format in Proper Order</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530496#M38179</link>
      <description>I used "MonthYearCampDate" from the above expression to sort the chart whereas using the "Month(Date(date#(left(dim_date, 8), 'YYYYMMDD'))) &amp;amp; '/' &amp;amp; Year(Date(date#(left(dim_date, 8), 'YYYYMMDD'))) as MonthYearCampDate," as dimension in the chart and it has solved the problem</description>
      <pubDate>Tue, 15 Jan 2019 14:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-sort-date-in-MMM-YYYY-format-in-Proper-Order/m-p/1530496#M38179</guid>
      <dc:creator>vipul_narang</dc:creator>
      <dc:date>2019-01-15T14:04:39Z</dc:date>
    </item>
  </channel>
</rss>

