<?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: Top 5,10 values in list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414096#M810413</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;Hope the attached file will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Oct 2017 14:45:07 GMT</pubDate>
    <dc:creator>krishnacbe</dc:creator>
    <dc:date>2017-10-09T14:45:07Z</dc:date>
    <item>
      <title>Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414095#M810411</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;I want to create a list box which gives an option of selecting Top 5,Top 10 and All values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me what the logic to create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data is in below format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;State,&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;abc .table;&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/Top-5-10-values-in-list-box/m-p/1414095#M810411</guid>
      <dc:creator>kvr9</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414096#M810413</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;Hope the attached file will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 14:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414096#M810413</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2017-10-09T14:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414097#M810414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In any single chart create the three variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Top 10&lt;/P&gt;&lt;P&gt;=if(aggr(rank(sum(Sales)),States)&amp;lt;=10,sum(Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Top 5&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=if(aggr(rank(sum(Sales)),States)&amp;lt;=5,sum(Sales))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;all Values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and one inline table for selection, after all this conditionally load the expressions for more see the sttached&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 15:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414097#M810414</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-09T15:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414098#M810415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot,&amp;nbsp; it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 07:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414098#M810415</guid>
      <dc:creator>kvr9</dc:creator>
      <dc:date>2017-10-10T07:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414099#M810417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijaya ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Create buckets of Top 10 ,Top 5 and All value in Backend Script by Using nested If&lt;/P&gt;&lt;P&gt;i.e&amp;nbsp; If(aggr(rank(sum(Sales)),State)&amp;lt;=10,'TOP-10',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(aggr(rank(sum(Sales)),State)&amp;lt;=5,'TOP-5',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(aggr(rank(sum(Sales)),State)&amp;gt;10,'ALL-Value'))) as TOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then take TOP Field as FilterPlane / ListBox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 10:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414099#M810417</guid>
      <dc:creator>vikasdesai</dc:creator>
      <dc:date>2017-10-10T10:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414100#M810419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to hear. Please close the thread by marking the helpful/ Correct answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 12:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414100#M810419</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2017-10-10T12:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414101#M810420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems you got the answers from the thread may be close the thread with appropriate answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 14:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414101#M810420</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-10T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414102#M810421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share an example with above script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414102#M810421</guid>
      <dc:creator>kvr9</dc:creator>
      <dc:date>2017-10-11T07:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414103#M810422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works for single table,but I want this to be applicable for all charts and tables in my dashboard.&lt;/P&gt;&lt;P&gt;So should I write this expression in all charts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could please advice me how to work on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414103#M810422</guid>
      <dc:creator>kvr9</dc:creator>
      <dc:date>2017-10-11T07:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414104#M810423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijaya &lt;/P&gt;&lt;P&gt;Can u Please share the DataFile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 09:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414104#M810423</guid>
      <dc:creator>vikasdesai</dc:creator>
      <dc:date>2017-10-11T09:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414105#M810424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Yes exactly you have to copy and paste all the expression that you required. And you can go for creating another chart as well as if you required. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 09:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1414105#M810424</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-11T09:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Top 5,10 values in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1670848#M810425</link>
      <description>&lt;P&gt;Thanks ! Helped me tons &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 11:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-5-10-values-in-list-box/m-p/1670848#M810425</guid>
      <dc:creator>Max</dc:creator>
      <dc:date>2020-01-30T11:38:23Z</dc:date>
    </item>
  </channel>
</rss>

