<?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: How to show top 5 Vendors in the List Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773066#M1028760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this is your complete statement then it has an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if(AGGR(rank(sum(sales),Vendor)&amp;lt;=5, Vendor)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count the number of opening and closing parenthesis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides what are you IF'ing here? Are you IF'ing the AGGR statement?&lt;/P&gt;&lt;P&gt;You should AGGR the result of the IF statement as Swuehl suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Makes sense?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2015 22:15:15 GMT</pubDate>
    <dc:creator>jduenyas</dc:creator>
    <dc:date>2015-02-23T22:15:15Z</dc:date>
    <item>
      <title>How to show top 5 Vendors in the List Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773060#M1028748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls look at the below excel sheet.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Calculated dimension.PNG" class="image-1 jive-image" src="/legacyfs/online/78879_Calculated dimension.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;If I want my list box to show only top 5 Vendors based on Sales how can I do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 18:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773060#M1028748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-23T18:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top 5 Vendors in the List Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773061#M1028750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does not have to be a list box, as long as the box can contain list of Vendors, that is Qlikable. Some one suggested Input box but I am not sure how that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 18:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773061#M1028750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-23T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top 5 Vendors in the List Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773062#M1028752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a field expression in your list box (&amp;lt;expression&amp;gt; in the drop down in field list on general tab):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr( if(rank(sum(Sales))&amp;lt;=5,Vendor), Vendor)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 18:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773062#M1028752</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-02-23T18:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top 5 Vendors in the List Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773063#M1028754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aggr function and rank function will help in that kind in expression. or assign expression to a variable and use it with dollar expansion in expression of the particular field expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load data from source with restrictions using sql syntax to load top five values. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 18:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773063#M1028754</guid>
      <dc:creator>hariprasadqv</dc:creator>
      <dc:date>2015-02-23T18:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top 5 Vendors in the List Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773064#M1028756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As suggested, add a field expressions using RANK and AGGR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just remember to add the expressions to the &lt;STRONG&gt;Field Expression&lt;/STRONG&gt; box - shown in Yellow below, and not the Column Expressions shown in Red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To open the Field Expressions, click the down arrow on the filed box and select &lt;STRONG&gt;&amp;lt;Expression&amp;gt;&lt;/STRONG&gt; from the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ListboxExpressions.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78889_ListboxExpressions.JPG" style="width: 620px; height: 526px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 18:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773064#M1028756</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-02-23T18:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top 5 Vendors in the List Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773065#M1028758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you every one. I was using&amp;nbsp;&amp;nbsp;&amp;nbsp; if(AGGR(rank(sum(sales),Vendor)&amp;lt;=5, Vendor) &amp;amp; it did not worked.&lt;/P&gt;&lt;P&gt;Swuehl suggested &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;=aggr( if(rank(sum(Sales))&amp;lt;=5,Vendor), Vendor)&amp;nbsp; and it worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you pls explain why. I was following the youtube link which I find to be correct. Please comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="https://www.youtube.com/watch?v=l14j-5xNCIc" title="https://www.youtube.com/watch?v=l14j-5xNCIc"&gt;https://www.youtube.com/watch?v=l14j-5xNCIc&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 19:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773065#M1028758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-23T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top 5 Vendors in the List Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773066#M1028760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If this is your complete statement then it has an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if(AGGR(rank(sum(sales),Vendor)&amp;lt;=5, Vendor)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count the number of opening and closing parenthesis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides what are you IF'ing here? Are you IF'ing the AGGR statement?&lt;/P&gt;&lt;P&gt;You should AGGR the result of the IF statement as Swuehl suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Makes sense?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 22:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773066#M1028760</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2015-02-23T22:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to show top 5 Vendors in the List Box</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773067#M1028762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aggr will return a table and Rank will return a value. And your expression is having a syntax error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 04:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-top-5-Vendors-in-the-List-Box/m-p/773067#M1028762</guid>
      <dc:creator>hariprasadqv</dc:creator>
      <dc:date>2015-02-24T04:56:32Z</dc:date>
    </item>
  </channel>
</rss>

