<?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: Age bucket sorting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Age-bucket-sorting/m-p/5270#M791966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Age &amp;lt;=10, Dual('&amp;lt;10 Years', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 11 and Age &amp;lt; 20, Dual('11 - 20', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 21 and Age &amp;lt; 30, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'21 - 30', 3),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 31 and Age &amp;lt; 40, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'31 - 40', 4),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 41 and Age &amp;lt; 50, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'41 - 50', 5),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 51 and Age &amp;lt; 60, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'51 - 60', 6),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 61 and Age &amp;lt; 70, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'61 - 70', 7),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 71 and Age &amp;lt; 80, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'71 - 80', 8),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 81 and Age &amp;lt; 90, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'81 - 90', 9),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 91 and Age &amp;lt; 100, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'91 - 100', 10),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'100+', 11))))))))))) as AgeRange,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2018 16:57:28 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-23T16:57:28Z</dc:date>
    <item>
      <title>Age bucket sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Age-bucket-sorting/m-p/5269#M791965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this in script for age bucket&lt;/P&gt;&lt;P&gt;If(Age &amp;lt;=10, '&amp;lt;10 Years',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Age &amp;gt;= 11 and Age &amp;lt; 20, '11 - 20',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 21 and Age &amp;lt; 30, '21 - 30',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 31 and Age &amp;lt; 40, '31 - 40',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 41 and Age &amp;lt; 50, '41 - 50',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 51 and Age &amp;lt; 60, '51 - 60',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 61 and Age &amp;lt; 70, '61 - 70',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 71 and Age &amp;lt; 80, '71 - 80',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 81 and Age &amp;lt; 90, '81 - 90',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 91 and Age &amp;lt; 100, '91 - 100',&lt;/P&gt;&lt;P&gt; '100+')))))))))) as AgeRange,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use this AgeRange dimension in bar chart i am not getting the dimension in proper&amp;nbsp; order.I want to sort like this&lt;/P&gt;&lt;P&gt;&amp;lt;10 Years,'11 - 20','21 - 30','31 - 40','41 - 50','51 - 60','61 - 70','71 - 80','81 - 90','91 - 100', '100+'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA for screenshot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-bucket-sorting/m-p/5269#M791965</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Age bucket sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Age-bucket-sorting/m-p/5270#M791966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Age &amp;lt;=10, Dual('&amp;lt;10 Years', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 11 and Age &amp;lt; 20, Dual('11 - 20', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 21 and Age &amp;lt; 30, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'21 - 30', 3),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 31 and Age &amp;lt; 40, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'31 - 40', 4),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 41 and Age &amp;lt; 50, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'41 - 50', 5),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 51 and Age &amp;lt; 60, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'51 - 60', 6),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 61 and Age &amp;lt; 70, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'61 - 70', 7),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 71 and Age &amp;lt; 80, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'71 - 80', 8),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 81 and Age &amp;lt; 90, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'81 - 90', 9),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; IF(Age &amp;gt;= 91 and Age &amp;lt; 100, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'91 - 100', 10),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'100+', 11))))))))))) as AgeRange,&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-bucket-sorting/m-p/5270#M791966</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-23T16:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Age bucket sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Age-bucket-sorting/m-p/5271#M791967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this, add similar to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Age &amp;lt;=10, '&amp;lt;10 Years',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Age &amp;gt;= 11 and Age &amp;lt; 20, dual('11 - 20',1),&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 21 and Age &amp;lt; 30, dual('21 - 30',2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 31 and Age &amp;lt; 40, '31 - 40',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 41 and Age &amp;lt; 50, '41 - 50',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 51 and Age &amp;lt; 60, '51 - 60',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 61 and Age &amp;lt; 70, '61 - 70',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 71 and Age &amp;lt; 80, '71 - 80',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 81 and Age &amp;lt; 90, '81 - 90',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Age &amp;gt;= 91 and Age &amp;lt; 100, '91 - 100',&lt;/P&gt;&lt;P&gt;'100+')))))))))) as AgeRange,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-bucket-sorting/m-p/5271#M791967</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-23T16:58:38Z</dc:date>
    </item>
  </channel>
</rss>

