<?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 TOP 10 and Bottom 10 Customer by Revenue Amount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194156#M55159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;Your solution works fine. but it fails when there is 0 value. Rank function considers 0 value but aggr function omits 0 values giving wrong result. In other words if for Customer M, revenue is 0 then, M will not appear in TOP10 or BOTTOM 10 giving 1 less record.&lt;/P&gt;&lt;P&gt;Do you have any work around for this? Any help is greatly appreciated..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2011 14:48:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-26T14:48:15Z</dc:date>
    <item>
      <title>TOP 10 and Bottom 10 Customer by Revenue Amount</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194152#M55155</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 want to calculate both top 10 and bottom 10 customer based on sum of Revenue Amount for each customer.&lt;/P&gt;&lt;P&gt;Both top 10 and bottom 10 customers should be reflected in a Table as well as PIE and BAR chart.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 00:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194152#M55155</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2010-11-19T00:10:24Z</dc:date>
    </item>
    <item>
      <title>TOP 10 and Bottom 10 Customer by Revenue Amount</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194153#M55156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a solution using a calculated dimension:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;=aggr(if(rank(sum(Revenue))&amp;lt;=10 or rank(-sum(Revenue))&amp;lt;=10,Customer),Customer)&lt;/P&gt;&lt;P&gt;And perhaps I'm exceeding my role here, but I STRONGLY recommend that you don't use a pie chart like this. The main point of a pie chart (if you must use one at all), is to show a part-to-whole relationship. The assumption when you see a pie chart is that the whole thing is 100%. If you exclude all of the customers that aren't in the top or bottom 10, you are not showing a part to whole relationship, the pie chart is not 100%, and it is even more useless than pie charts normally are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 00:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194153#M55156</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-19T00:42:08Z</dc:date>
    </item>
    <item>
      <title>TOP 10 and Bottom 10 Customer by Revenue Amount</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194154#M55157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand why isn't its working for me. I would like to make it more clear.&lt;/P&gt;&lt;P&gt;For Example: I have a straight Chart table with column names in the following order:&lt;/P&gt;&lt;P&gt;1. Customer Name&lt;/P&gt;&lt;P&gt;2. Revenue Amount&lt;/P&gt;&lt;P&gt;3. COGS Amount&lt;/P&gt;&lt;P&gt;4. Profit&lt;/P&gt;&lt;P&gt;Is there any way I could get top and bottom 10, 25, 50 and 100 customer by revenue. Also is there any way where I can right click on the table and change the properties to reflect the top customer?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Nov 2010 01:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194154#M55157</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2010-11-20T01:18:30Z</dc:date>
    </item>
    <item>
      <title>TOP 10 and Bottom 10 Customer by Revenue Amount</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194155#M55158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure I understand, but I've added columns for Profit and COGS to the straight table. I've also added a list box for new field TopN. If you select a value, it will give you that number of top and bottom customers. If you don't select a value (or select multiple values), it gives you all customers. It's using this calculated dimension:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;=aggr(if(len(TopN)=0 or rank(sum(Revenue))&amp;lt;=TopN or rank(-sum(Revenue))&amp;lt;=TopN,Customer),Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Nov 2010 02:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194155#M55158</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-20T02:28:20Z</dc:date>
    </item>
    <item>
      <title>TOP 10 and Bottom 10 Customer by Revenue Amount</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194156#M55159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;Your solution works fine. but it fails when there is 0 value. Rank function considers 0 value but aggr function omits 0 values giving wrong result. In other words if for Customer M, revenue is 0 then, M will not appear in TOP10 or BOTTOM 10 giving 1 less record.&lt;/P&gt;&lt;P&gt;Do you have any work around for this? Any help is greatly appreciated..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 14:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194156#M55159</guid>
      <dc:creator />
      <dc:date>2011-04-26T14:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 10 and Bottom 10 Customer by Revenue Amount</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194157#M55160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir make a Input box and define the&amp;nbsp; drop down value so u can find easily find the top customers... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2012 16:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194157#M55160</guid>
      <dc:creator />
      <dc:date>2012-07-28T16:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: TOP 10 and Bottom 10 Customer by Revenue Amount</title>
      <link>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194158#M55161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have similar query to show top 5&amp;nbsp;&amp;nbsp; and bottom 5 customers together, how can i define the calculated measure for master item (Dimension)&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; font-size: 13px;"&gt;aggr(if(rank(sum(Sales))&amp;lt;=10 or rank(-sum(Sales))&amp;lt;=10,Customer),Customer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&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; font-size: 13px;"&gt;&lt;BR /&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; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MAK.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 06:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TOP-10-and-Bottom-10-Customer-by-Revenue-Amount/m-p/194158#M55161</guid>
      <dc:creator>khanashique</dc:creator>
      <dc:date>2018-09-11T06:13:39Z</dc:date>
    </item>
  </channel>
</rss>

