<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772390#M1046054</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;maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/121191"&gt;Custom Filter(unusual range)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This solution uses the dual function to create underlying numerical values for unequal sized buckets so that sorting needs no special sorting expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2014 22:56:23 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-11-18T22:56:23Z</dc:date>
    <item>
      <title>sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772380#M1046044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a dynamic calculated dimensio(Age band)n in bar chart.The values are N/A, 1 to 30 days, 31 to 90 days,&amp;nbsp; 91 to 180 days, 181 to 365 days, 366 days plus based on Age field. N/A will capture -ve values of Age. Iwant to order the data in bar chart based on ageband in the same way mentioned above. But unable to sort by using sort tab options.&amp;nbsp; Can any one help? Good thing is the ageband values are fixed. No additional values will be added.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 18:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772380#M1046044</guid>
      <dc:creator />
      <dc:date>2014-11-18T18:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772381#M1046045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jhansi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can sort on the minimum value for each age band.&amp;nbsp; An expression like Min(Age) would work (assuming you are generating your dimension from a field called "Age").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josh&lt;/P&gt;&lt;P&gt;Qlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 19:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772381#M1046045</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2014-11-18T19:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772382#M1046046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. It worked. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 20:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772382#M1046046</guid>
      <dc:creator />
      <dc:date>2014-11-18T20:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772383#M1046047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the dual function in the dynamic dimension and then sort by number&lt;/P&gt;&lt;P&gt;example, in bold the number used in sort&lt;/P&gt;&lt;P&gt;=aggr(if(sum(Expression1)&amp;gt;100000, dual('&amp;gt;100000', &lt;STRONG&gt;100&lt;/STRONG&gt;), &lt;/P&gt;&lt;P&gt;if(sum(Expression1)&amp;gt;90000, dual('&amp;gt;90000', &lt;STRONG&gt;20&lt;/STRONG&gt;), &lt;/P&gt;&lt;P&gt;if(sum(Expression1)&amp;gt;80000, dual('&amp;gt;80000', &lt;STRONG&gt;15&lt;/STRONG&gt;), &lt;/P&gt;&lt;P&gt;if(sum(Expression1)&amp;gt;60000, dual('&amp;gt;60000', &lt;STRONG&gt;14&lt;/STRONG&gt;), &lt;/P&gt;&lt;P&gt;if(sum(Expression1)&amp;gt;30000, dual('&amp;gt;30000', &lt;STRONG&gt;13&lt;/STRONG&gt;), &lt;/P&gt;&lt;P&gt;if(sum(Expression1)&amp;gt;0, dual('&amp;gt;0', &lt;STRONG&gt;5&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;)))))),&lt;/P&gt;&lt;P&gt;Dim2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 20:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772383#M1046047</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-18T20:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772384#M1046048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use dual function while creating the age band... something like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Age &amp;lt;= 0, Dual('N/A',0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Age &amp;gt; 0 and Age &amp;lt;= 30, Dual('1 to 30',1),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Age &amp;gt; 30 and Age &amp;lt; 90, Dual('31 to 90', 2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Age &amp;gt; 90 and Age &amp;lt;= 180, Dual('91 to 180', 3),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Age &amp;gt; 180 and Age &amp;lt;= 365, Dual('181 to 365', 4),&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dual('365 +',5)))))) as [Age Band];&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Interval(Today()-Date,'D') as Age&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID,Date&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1,01/11/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2,05/11/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3,15/05/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4,01/02/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 5,16/08/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 6,25/08/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 7,30/10/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 8,17/11/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 9,01/01/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp; 10,26/12/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp; 11,15/04/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 12,25/12/2014&lt;/P&gt;&lt;P&gt;&amp;nbsp; 13,10/09/2013&lt;/P&gt;&lt;P&gt;&amp;nbsp; 14,12/06/2011&lt;/P&gt;&lt;P&gt;&amp;nbsp; 15,15/10/2014&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now create a Bar chart&lt;/P&gt;&lt;P&gt;Dimension &lt;/P&gt;&lt;P&gt;[Age Band]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression &lt;/P&gt;&lt;P&gt;COUNT(Distinct ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort Tab&lt;/P&gt;&lt;P&gt;Sort By Age Band Ascending or Descending Order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 20:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772384#M1046048</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-18T20:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772385#M1046049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;In the given solution Sum(Expression1) means the derived filed(AgeBand) expression or the Fact expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamically calculated filed(AgeBand) expression =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=30,'1 - 30 days',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;30 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=90, '31 - 90 days',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;90 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=180, '91 - 180 days',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;180 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=365, '181 - 365 days',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Age&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;365,'366 days plus','N/A'))))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; both the cases the value of Sum(Exp) will be always changing based on selection of other fields..!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Jhansi&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 20:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772385#M1046049</guid>
      <dc:creator />
      <dc:date>2014-11-18T20:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772386#M1046050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, In Script level&amp;nbsp; we can use this. Thank you for the 2nd approach. In my senario i am looking at UI level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 21:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772386#M1046050</guid>
      <dc:creator />
      <dc:date>2014-11-18T21:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772387#M1046051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;replace&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'1 - 30 days' with dual(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'1 - 30 days', &lt;STRONG&gt;1&lt;/STRONG&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; line-height: 1.5em;"&gt;and so on&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; line-height: 1.5em;"&gt;and sort by number &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 21:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772387#M1046051</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-18T21:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772388#M1046052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah. But the AgeBand is '1 to 30 days'. sorry i mentioned like 1 - 30 days in previous post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 21:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772388#M1046052</guid>
      <dc:creator />
      <dc:date>2014-11-18T21:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772389#M1046053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish expression should works also in the UI&lt;/P&gt;&lt;P&gt;You show a text,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'1 to 30'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'31 to 90'&lt;/SPAN&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;You sort by number&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; If(Age &amp;lt;= 0, Dual('N/A',0),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If(Age &amp;gt; 0 and Age &amp;lt;= 30, Dual('1 to 30',1),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If(Age &amp;gt; 30 and Age &amp;lt; 90, Dual('31 to 90', 2),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If(Age &amp;gt; 90 and Age &amp;lt;= 180, Dual('91 to 180', 3),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; If(Age &amp;gt; 180 and Age &amp;lt;= 365, Dual('181 to 365', 4),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Dual('365 +',5)))))) &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If it doesn't work, post your .qvw, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 22:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772389#M1046053</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-18T22:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: sorting</title>
      <link>https://community.qlik.com/t5/QlikView/sorting/m-p/772390#M1046054</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;maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/121191"&gt;Custom Filter(unusual range)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This solution uses the dual function to create underlying numerical values for unequal sized buckets so that sorting needs no special sorting expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 22:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting/m-p/772390#M1046054</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-18T22:56:23Z</dc:date>
    </item>
  </channel>
</rss>

