<?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 How to select top 5 data from a dataset in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-select-top-5-data-from-a-dataset/m-p/351740#M577565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try with rank function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Drugs={"=Rank(Sum(Sales))&amp;lt;=10"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;=IF(AGGR(RANK(SUM(Sales)), Drugs) &amp;lt;= 10, SUM(Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2012 07:55:01 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-03-14T07:55:01Z</dc:date>
    <item>
      <title>How to select top 5 data from a dataset</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-top-5-data-from-a-dataset/m-p/351739#M577564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey People,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a table containing top 5 say 'drugs' based on total sales..How do i do that without making any change in the database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 07:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-top-5-data-from-a-dataset/m-p/351739#M577564</guid>
      <dc:creator />
      <dc:date>2012-03-14T07:45:43Z</dc:date>
    </item>
    <item>
      <title>How to select top 5 data from a dataset</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-top-5-data-from-a-dataset/m-p/351740#M577565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try with rank function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Drugs={"=Rank(Sum(Sales))&amp;lt;=10"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;=IF(AGGR(RANK(SUM(Sales)), Drugs) &amp;lt;= 10, SUM(Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 07:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-top-5-data-from-a-dataset/m-p/351740#M577565</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-14T07:55:01Z</dc:date>
    </item>
  </channel>
</rss>

