<?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 Calculated Dimension. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787199#M278477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this expression in sort tab&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=date(book_gl_date,'YYYYMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 10:36:44 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-11-20T10:36:44Z</dc:date>
    <item>
      <title>How to sort Calculated Dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787197#M278475</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 have a calculated dimension: month(book_gl_date)&amp;amp;'-'&amp;amp; year(book_gl_date)&lt;/P&gt;&lt;P&gt;Here book_gl_date is a date type column. The result of above calulated dimension is a string in format like Nov-2014, Oct-2014...so on.&lt;/P&gt;&lt;P&gt;How to sort that in 'Sort' tab. By default it sorts by treating it as a text. Hence Apr-2014 comes before Jan-2014. I want to sort it as per calendar for example: Jan-2014, Feb-2014, Mar-2014...&lt;/P&gt;&lt;P&gt;Please find the attached screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787197#M278475</guid>
      <dc:creator />
      <dc:date>2014-11-20T10:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort Calculated Dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787198#M278476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better create this field in Script by using Date Functions&lt;/P&gt;&lt;P&gt;or change your calculated dimension to &lt;/P&gt;&lt;P&gt;Date(MonthStart(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;book_gl_date&lt;/SPAN&gt;), 'MMM-YYYY')&lt;/P&gt;&lt;P&gt;and sort order as numberic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787198#M278476</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-11-20T10:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort Calculated Dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787199#M278477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this expression in sort tab&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=date(book_gl_date,'YYYYMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787199#M278477</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-20T10:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort Calculated Dimension.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787200#M278478</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;Try this in script&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthName(book_gl_date) as MonthYear&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now use this field as dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Let me know if that worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 10:37:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-sort-Calculated-Dimension/m-p/787200#M278478</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-11-20T10:37:59Z</dc:date>
    </item>
  </channel>
</rss>

