<?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 Sum excluding top 5 values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-excluding-top-5-values/m-p/235361#M86624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I am trying to create a text box with the value to show the sum, excluding the top 5 numbers.&lt;/P&gt;&lt;P&gt;I am able to achieve this in a chart, as I was able to limit the dimension based on the condition.&lt;/P&gt;&lt;P&gt;Now, I am trying to show that value in a text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To explain further, I have a dimension say X and value - 'val'.&lt;/P&gt;&lt;P&gt;I need to show sum(val) for all except top 5 X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Oct 2010 19:18:59 GMT</pubDate>
    <dc:creator>boorgura</dc:creator>
    <dc:date>2010-10-12T19:18:59Z</dc:date>
    <item>
      <title>Sum excluding top 5 values</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-excluding-top-5-values/m-p/235361#M86624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I am trying to create a text box with the value to show the sum, excluding the top 5 numbers.&lt;/P&gt;&lt;P&gt;I am able to achieve this in a chart, as I was able to limit the dimension based on the condition.&lt;/P&gt;&lt;P&gt;Now, I am trying to show that value in a text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To explain further, I have a dimension say X and value - 'val'.&lt;/P&gt;&lt;P&gt;I need to show sum(val) for all except top 5 X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 19:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-excluding-top-5-values/m-p/235361#M86624</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-10-12T19:18:59Z</dc:date>
    </item>
    <item>
      <title>Sum excluding top 5 values</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-excluding-top-5-values/m-p/235362#M86625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, you can limit the number of items of X dimension using set analysis, like this:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;X = {"=rank(aggr(sum(Val),X),4,1) &amp;gt; 5"}&amp;gt;} Val)&lt;/P&gt;&lt;P&gt;Notice, in this particular example the aggr within the set analsys is not needed, however i wrote it like that, in case you need to calculate the rank based on more dimension.&lt;/P&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 19:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-excluding-top-5-values/m-p/235362#M86625</guid>
      <dc:creator />
      <dc:date>2010-10-12T19:33:34Z</dc:date>
    </item>
    <item>
      <title>Sum excluding top 5 values</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-excluding-top-5-values/m-p/235363#M86626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ivan.&lt;/P&gt;&lt;P&gt;It actually works.&lt;/P&gt;&lt;P&gt;I was almost at a similar point but was doing something wrong - that I was missing out one value.&lt;/P&gt;&lt;P&gt;I appreciate your time and help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 19:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-excluding-top-5-values/m-p/235363#M86626</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2010-10-12T19:56:57Z</dc:date>
    </item>
  </channel>
</rss>

