<?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: Slider with top range/expression in list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Slider-with-top-range-expression-in-list-box/m-p/418920#M488606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi cosmin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you can use an expression like this one:&lt;/P&gt;&lt;P&gt;=If(aggr(rank(sum(Sales)),mag)&amp;gt;=TOPN &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;and &lt;/EM&gt;&lt;/SPAN&gt;aggr(rank(sum(Sales)),mag)&amp;lt;=TOPN1,mag,null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the "&amp;gt;=TOPN" and "&amp;lt;=TOPN" work fine in a listbox. Nevertheless I prefer the Dollarsign-expansion for variables. (see online help for more details). &lt;/P&gt;&lt;P&gt;The formula is then:&lt;/P&gt;&lt;P&gt;=If(aggr(rank(sum(Sales)),mag)&amp;gt;= $(TOPN) &lt;EM style="text-decoration: underline;"&gt;and &lt;/EM&gt;aggr(rank(sum(Sales)),mag)&amp;lt;= $(TOPN1),mag,null())&lt;/P&gt;&lt;P&gt;and works now also as a calculated dimension and more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;P&gt;P.S.:&lt;/P&gt;&lt;P&gt;I had some troubles with your values because you are using the comma "," as DezimalSep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Dec 2012 14:48:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-09T14:48:30Z</dc:date>
    <item>
      <title>Slider with top range/expression in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Slider-with-top-range-expression-in-list-box/m-p/418919#M488605</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'm trying to do a slider with 2 variables something like a top 10 (mag as a dimension) after sales but a little bit complex:&lt;/P&gt;&lt;P&gt;- in the example attached i have 6 mag (mag 1, mag 2,...mag 6) and a slider with values 1..6&lt;/P&gt;&lt;P&gt;- i created a list box in wich i see all &lt;STRONG&gt;mag&lt;/STRONG&gt; with rank &amp;lt;=first variable and another list box in wich i see all &lt;STRONG&gt;mag &lt;/STRONG&gt;with rank &amp;lt;=second variable&lt;/P&gt;&lt;P&gt;- but what i want is a list box with (a combination between them): &lt;STRONG&gt;mag situated with rank in the range of these 2 variables ( for ex: v1 is 3 and v2 is 5 i want only mag with rank 3,4 and 5); a kind ok what v2 has and v1 hasn't&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1list box has the expression:&lt;/P&gt;&lt;P&gt;=If(aggr(rank(sum(Sales)),mag)&amp;lt;=&lt;STRONG&gt;TOPN&lt;/STRONG&gt;,mag,null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2list box:&lt;/P&gt;&lt;P&gt;=If(aggr(rank(sum(Sales)),mag)&amp;lt;=&lt;STRONG&gt;TOPN1&lt;/STRONG&gt;,mag,null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what expression should i have to obtain dimensions with rank in range between TOPN-TOPN1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Cosmin&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2012 13:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slider-with-top-range-expression-in-list-box/m-p/418919#M488605</guid>
      <dc:creator />
      <dc:date>2012-12-09T13:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Slider with top range/expression in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Slider-with-top-range-expression-in-list-box/m-p/418920#M488606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi cosmin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you can use an expression like this one:&lt;/P&gt;&lt;P&gt;=If(aggr(rank(sum(Sales)),mag)&amp;gt;=TOPN &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;and &lt;/EM&gt;&lt;/SPAN&gt;aggr(rank(sum(Sales)),mag)&amp;lt;=TOPN1,mag,null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the "&amp;gt;=TOPN" and "&amp;lt;=TOPN" work fine in a listbox. Nevertheless I prefer the Dollarsign-expansion for variables. (see online help for more details). &lt;/P&gt;&lt;P&gt;The formula is then:&lt;/P&gt;&lt;P&gt;=If(aggr(rank(sum(Sales)),mag)&amp;gt;= $(TOPN) &lt;EM style="text-decoration: underline;"&gt;and &lt;/EM&gt;aggr(rank(sum(Sales)),mag)&amp;lt;= $(TOPN1),mag,null())&lt;/P&gt;&lt;P&gt;and works now also as a calculated dimension and more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;P&gt;P.S.:&lt;/P&gt;&lt;P&gt;I had some troubles with your values because you are using the comma "," as DezimalSep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2012 14:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slider-with-top-range-expression-in-list-box/m-p/418920#M488606</guid>
      <dc:creator />
      <dc:date>2012-12-09T14:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Slider with top range/expression in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Slider-with-top-range-expression-in-list-box/m-p/418921#M488607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland&lt;/P&gt;&lt;P&gt;many thanks for help; very very useful&lt;/P&gt;&lt;P&gt;to go a little bit further a have one more challenge to this situation: i want to create a new slider like this but with percents in which i want to select for example: first 20% or the middle part 30%--&amp;gt;60% (not the ranks as number)&lt;/P&gt;&lt;P&gt;imagine all &lt;STRONG&gt;mag sorted after sales and a column with their share in total; when i select in slider 20%--&amp;gt;60% i want a selection with all mag situated in this range&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mag 1 20%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mag 2 10%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;mag 3 5%&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum=100%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;slider selection 30% -35%&amp;nbsp; ----&amp;nbsp; mag 1, mag 2&lt;/P&gt;&lt;P&gt;slider selection 0-20% (top 20% ) --- mag 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again&lt;/P&gt;&lt;P&gt;Cosmin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: first time i tried in list box $(TOPN) but it didn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2012 15:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slider-with-top-range-expression-in-list-box/m-p/418921#M488607</guid>
      <dc:creator />
      <dc:date>2012-12-09T15:47:55Z</dc:date>
    </item>
  </channel>
</rss>

