<?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 10 With Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672891#M1072592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider you have below table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Customer, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; A, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; B, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; C, 75&lt;/P&gt;&lt;P&gt;&amp;nbsp; D, 90&lt;/P&gt;&lt;P&gt;&amp;nbsp; E, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; F, 140&lt;/P&gt;&lt;P&gt;&amp;nbsp; G, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; H, 200&lt;/P&gt;&lt;P&gt;&amp;nbsp; I, 240&lt;/P&gt;&lt;P&gt;&amp;nbsp; J, 110&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Straight Table&lt;/P&gt;&lt;P&gt;Dimension &lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Customer = {"=Rank(SUM(Sales),4)&amp;lt;=5"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you TOP 5... Replace 5 with 10 to get TOP 10 as per your database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2014 10:52:59 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-08-13T10:52:59Z</dc:date>
    <item>
      <title>Top 10 With Total</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672889#M1072590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight table with a sum expression. I only want to show the top 10 and need a total on the bottom line for the top 10. I can select the top 10 but it gives me the total for all 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672889#M1072590</guid>
      <dc:creator>kevbrown</dc:creator>
      <dc:date>2014-08-13T10:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 With Total</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672890#M1072591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;try with Rank() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672890#M1072591</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-13T10:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 With Total</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672891#M1072592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider you have below table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Customer, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; A, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp; B, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; C, 75&lt;/P&gt;&lt;P&gt;&amp;nbsp; D, 90&lt;/P&gt;&lt;P&gt;&amp;nbsp; E, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; F, 140&lt;/P&gt;&lt;P&gt;&amp;nbsp; G, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp; H, 200&lt;/P&gt;&lt;P&gt;&amp;nbsp; I, 240&lt;/P&gt;&lt;P&gt;&amp;nbsp; J, 110&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Straight Table&lt;/P&gt;&lt;P&gt;Dimension &lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Customer = {"=Rank(SUM(Sales),4)&amp;lt;=5"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you TOP 5... Replace 5 with 10 to get TOP 10 as per your database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672891#M1072592</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-13T10:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 With Total</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672892#M1072593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use calculated dimension here like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(rank(sum(Data))&amp;lt;=10, User),User)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672892#M1072593</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-08-13T10:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 With Total</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672893#M1072594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also this may help you, please see the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672893#M1072594</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-08-13T10:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 With Total</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672894#M1072595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA. and change as my example shows Top 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 11:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672894#M1072595</guid>
      <dc:creator />
      <dc:date>2014-08-13T11:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Top 10 With Total</title>
      <link>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672895#M1072596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works a treat thanks, however, what if i now want to add a second dimension, so in your example, add office but still show only the top 5 salemen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 11:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Top-10-With-Total/m-p/672895#M1072596</guid>
      <dc:creator>kevbrown</dc:creator>
      <dc:date>2014-08-13T11:33:59Z</dc:date>
    </item>
  </channel>
</rss>

