<?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 spend for top 10 suppliers in each category in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198621#M500157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BOUNCE&lt;/P&gt;&lt;P&gt;Someone in the community must know how to help me with this one &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 13:40:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-06T13:40:32Z</dc:date>
    <item>
      <title>Total spend for top 10 suppliers in each category</title>
      <link>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198620#M500156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following expression which provides me with the total spend if a supplier is in the top 10 for its category. This works fine when in a straight table and the suppliers and categories are shown as dimensions.&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;=IF(aggr(rank(sum([NET_Amount])),Category,Supplier_Key)&amp;lt;=10,Sum([NET_Amount]))&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;I now want to use this information but in a new straight table that only has the Category dimension and shows an expression for total spend for the top 10 suppliers in that category. I'm not sure how to do this?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Do I need to use set analysis?&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Thanks in anticipation,&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Alex Botten&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 16:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198620#M500156</guid>
      <dc:creator />
      <dc:date>2011-04-05T16:02:09Z</dc:date>
    </item>
    <item>
      <title>Total spend for top 10 suppliers in each category</title>
      <link>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198621#M500157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BOUNCE&lt;/P&gt;&lt;P&gt;Someone in the community must know how to help me with this one &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 13:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198621#M500157</guid>
      <dc:creator />
      <dc:date>2011-04-06T13:40:32Z</dc:date>
    </item>
    <item>
      <title>Total spend for top 10 suppliers in each category</title>
      <link>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198622#M500158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is possible but I don't have the final answer yet.&lt;/P&gt;&lt;P&gt;You would need the Set Analysis to be based on the Key(Id) of your observations (and not on the Category, Supplier) as the Set Analysis 'filter the records once for the whole chart (table or graph)'&lt;/P&gt;&lt;P&gt;I still don't get the whole total, but here is what I get so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Sum({$&amp;lt;Id = {"=Id = IF(aggr(rank(sum([NET_Amount])),Category,Supplier_Key)&amp;lt;=10,Id)"}&amp;gt;}NET_Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope others will contribute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 16:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198622#M500158</guid>
      <dc:creator />
      <dc:date>2011-04-06T16:49:27Z</dc:date>
    </item>
    <item>
      <title>Total spend for top 10 suppliers in each category</title>
      <link>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198623#M500159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nicolas I'll work with what you have sent and see if I make any progress.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 09:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198623#M500159</guid>
      <dc:creator />
      <dc:date>2011-04-07T09:26:29Z</dc:date>
    </item>
    <item>
      <title>Total spend for top 10 suppliers in each category</title>
      <link>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198624#M500160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Set Analysis; I always refer to these articles:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/33248.aspx" target="_blank" title="http://community.qlik.com/forums/t/33248.aspx"&gt;http://community.qlik.com/forums/t/33248.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://iqlik.wordpress.com/2010/08/14/the-magic-of-set-analysis-introduction/" target="_blank" title="http://iqlik.wordpress.com/2010/08/14/the-magic-of-set-analysis-introduction/"&gt;http://iqlik.wordpress.com/2010/08/14/the-magic-of-set-analysis-introduction/&lt;/A&gt; (4 articles)&lt;/P&gt;&lt;P&gt;&lt;A href="http://andpointsbeyond.com/2009/07/02/whats-possible-in-qlikview-9/" target="_blank" title="http://andpointsbeyond.com/2009/07/02/whats-possible-in-qlikview-9/"&gt;http://andpointsbeyond.com/2009/07/02/whats-possible-in-qlikview-9/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if you or someone else find the solution; I am interested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 15:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-spend-for-top-10-suppliers-in-each-category/m-p/198624#M500160</guid>
      <dc:creator />
      <dc:date>2011-04-07T15:11:48Z</dc:date>
    </item>
  </channel>
</rss>

