<?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 Total for largest 30 values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300833#M1179780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it didn't worked for me - maybe I did something wrong...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I looked for other solution and inspired by this topic: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/message/48857#48857"&gt;http://community.qlik.com/message/48857#48857&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; I wrote the expression which works perfect:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(rank(count(PeopleID))&amp;lt;=30,count(PeopleID)), PeopleID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2012 09:26:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-24T09:26:39Z</dc:date>
    <item>
      <title>Total for largest 30 values</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300829#M1179776</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 have a bar chart with top 30 people with highest number of meetings. I'm trying to add text to chart with the information about total number of meetings for them, but I don't know how to calculate such thing. What is the easiest way to calculate sum of totals for top 30? Please help, thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 08:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300829#M1179776</guid>
      <dc:creator />
      <dc:date>2012-01-24T08:33:22Z</dc:date>
    </item>
    <item>
      <title>Total for largest 30 values</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300830#M1179777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; you can have a look at RANK function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp; tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 08:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300830#M1179777</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2012-01-24T08:41:59Z</dc:date>
    </item>
    <item>
      <title>Total for largest 30 values</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300831#M1179778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried to use it, but I don't know how should the whole expression for this look like, not only for rank function, but for totals that are for people ranked 1-30. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 08:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300831#M1179778</guid>
      <dc:creator />
      <dc:date>2012-01-24T08:45:36Z</dc:date>
    </item>
    <item>
      <title>Total for largest 30 values</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300832#M1179779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi paulina6735&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can get this by using this expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum({&amp;lt;PeopleID={"=(Rank(Sum(Meetings))&amp;lt;=30)"}&amp;gt;}Aggr(Sum(Meetings),PeopleID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 08:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300832#M1179779</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-01-24T08:47:09Z</dc:date>
    </item>
    <item>
      <title>Total for largest 30 values</title>
      <link>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300833#M1179780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it didn't worked for me - maybe I did something wrong...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I looked for other solution and inspired by this topic: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/message/48857#48857"&gt;http://community.qlik.com/message/48857#48857&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; I wrote the expression which works perfect:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum(aggr(if(rank(count(PeopleID))&amp;lt;=30,count(PeopleID)), PeopleID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 09:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-for-largest-30-values/m-p/300833#M1179780</guid>
      <dc:creator />
      <dc:date>2012-01-24T09:26:39Z</dc:date>
    </item>
  </channel>
</rss>

