<?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: custom sort on an expression listbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672138#M244131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#2) add a set modifier to cancel out the CustomerCode selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=if(aggr(sum( {$&amp;lt;CustomerCode=&amp;gt;} Amount),CustomerCode)&amp;lt;50, '&amp;lt;50', if(aggr(sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{$&amp;lt;CustomerCode=&amp;gt;} &lt;/SPAN&gt;Amount),CustomerCode)&amp;lt;500, '50-500', if(aggr(sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{$&amp;lt;CustomerCode=&amp;gt;} &lt;/SPAN&gt;Amount),CustomerCode)&amp;gt;500, '&amp;gt;500')))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 16:59:44 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-10-21T16:59:44Z</dc:date>
    <item>
      <title>custom sort on an expression listbox</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672136#M244129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a listbox based on an expression like the following : &lt;/P&gt;&lt;P&gt;=if(aggr(sum(Amount),CustomerCode)&amp;lt;50, '&amp;lt;50', if(aggr(sum(Amount),CustomerCode)&amp;lt;500, '50-500', if(aggr(sum(Amount),CustomerCode)&amp;gt;500, '&amp;gt;500')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The listbox is working but I have 2 problems : &lt;/P&gt;&lt;P&gt;1) I cant sort by the good order : &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;lt;50&lt;/LI&gt;&lt;LI&gt;50-500&lt;/LI&gt;&lt;LI&gt;&amp;gt;500&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) when I select a value from this listbox, the 2 non selected values disappear. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to solve these issues pls ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 16:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672136#M244129</guid>
      <dc:creator />
      <dc:date>2014-10-21T16:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on an expression listbox</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672137#M244130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;use dual &lt;/P&gt;&lt;P&gt;dual('&amp;lt;50',1)&amp;nbsp;&amp;nbsp; instead of &amp;lt;50&lt;/P&gt;&lt;P&gt;dual('50-500',2)&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and sort by number&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 16:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672137#M244130</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-21T16:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on an expression listbox</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672138#M244131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#2) add a set modifier to cancel out the CustomerCode selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=if(aggr(sum( {$&amp;lt;CustomerCode=&amp;gt;} Amount),CustomerCode)&amp;lt;50, '&amp;lt;50', if(aggr(sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{$&amp;lt;CustomerCode=&amp;gt;} &lt;/SPAN&gt;Amount),CustomerCode)&amp;lt;500, '50-500', if(aggr(sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{$&amp;lt;CustomerCode=&amp;gt;} &lt;/SPAN&gt;Amount),CustomerCode)&amp;gt;500, '&amp;gt;500')))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 16:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672138#M244131</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-21T16:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: custom sort on an expression listbox</title>
      <link>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672139#M244132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you, works fine &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 07:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/custom-sort-on-an-expression-listbox/m-p/672139#M244132</guid>
      <dc:creator />
      <dc:date>2014-10-22T07:45:24Z</dc:date>
    </item>
  </channel>
</rss>

