<?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 Show Top 10 in Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Top-10-in-Straight-Table/m-p/149613#M27767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I've got a table that shows count of claims by UK area. There are 127 UK areas, but I only want the table to only show the top 10 areas by highest count. Is there a way to do this? I've tried a set statement in the calculated dimention as follows:&lt;/P&gt;&lt;P&gt;=aggr(if(rank(count([Claim Number]))&amp;lt;11, [Area Name]), [Area Name])&lt;/P&gt;&lt;P&gt;This almost does the job, but all the areas that are not in the top 10 are grouped together and shown on the table, whereas I only want to see the top 10.&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2009 20:06:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-17T20:06:57Z</dc:date>
    <item>
      <title>Show Top 10 in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Top-10-in-Straight-Table/m-p/149613#M27767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I've got a table that shows count of claims by UK area. There are 127 UK areas, but I only want the table to only show the top 10 areas by highest count. Is there a way to do this? I've tried a set statement in the calculated dimention as follows:&lt;/P&gt;&lt;P&gt;=aggr(if(rank(count([Claim Number]))&amp;lt;11, [Area Name]), [Area Name])&lt;/P&gt;&lt;P&gt;This almost does the job, but all the areas that are not in the top 10 are grouped together and shown on the table, whereas I only want to see the top 10.&lt;/P&gt;&lt;P&gt;Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 20:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Top-10-in-Straight-Table/m-p/149613#M27767</guid>
      <dc:creator />
      <dc:date>2009-07-17T20:06:57Z</dc:date>
    </item>
    <item>
      <title>Show Top 10 in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Top-10-in-Straight-Table/m-p/149614#M27768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use a short macro:&lt;/P&gt;&lt;P&gt;'*************************************************************&lt;BR /&gt;'* Top 10&lt;BR /&gt;'*************************************************************&lt;BR /&gt;sub Top10&lt;BR /&gt; set f = ActiveDocument.GetField ("Company")&lt;BR /&gt; f.TopSelect "Sum (Amount)", 10&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;or modify the expression:&lt;/P&gt;&lt;P&gt;=aggr(if(rank(count([Claim Number]))&amp;lt;11, [Area Name]), 'TheRest')&lt;/P&gt;&lt;P&gt;or have a look in Chart Properties.&lt;/P&gt;&lt;P&gt;Have a nice weekend!&lt;/P&gt;&lt;P&gt;Rainer&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 20:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Top-10-in-Straight-Table/m-p/149614#M27768</guid>
      <dc:creator />
      <dc:date>2009-07-17T20:18:30Z</dc:date>
    </item>
  </channel>
</rss>

