<?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 Rank for table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373058#M494145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my last idea, but only shows the ranked 1 product disregarding the country&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(In a table with country as dimension)&lt;/P&gt;&lt;P&gt;=Aggr(if(Rank( Sum(Sales))=1, Product),Product)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2012 20:23:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-27T20:23:39Z</dc:date>
    <item>
      <title>Rank for table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373057#M494144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dimension country. &lt;/P&gt;&lt;P&gt;I want to know for each country in a table, which is the top product with sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should look like this:&lt;/P&gt;&lt;P&gt;Country&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product&lt;/P&gt;&lt;P&gt;Mexico&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;England&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/P&gt;&lt;P&gt;USA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&lt;/P&gt;&lt;P&gt;France&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried combining if, rank and aggr but with no luck yet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Federico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 20:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373057#M494144</guid>
      <dc:creator />
      <dc:date>2012-04-27T20:21:01Z</dc:date>
    </item>
    <item>
      <title>Rank for table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373058#M494145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my last idea, but only shows the ranked 1 product disregarding the country&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(In a table with country as dimension)&lt;/P&gt;&lt;P&gt;=Aggr(if(Rank( Sum(Sales))=1, Product),Product)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 20:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373058#M494145</guid>
      <dc:creator />
      <dc:date>2012-04-27T20:23:39Z</dc:date>
    </item>
    <item>
      <title>Rank for table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373059#M494146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;=Aggr(if(Rank( Sum(Sales))=1,&amp;nbsp; Product),&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Country,&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Product)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Didn't know that the order matter, I had already tried &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;=Aggr(if(Rank( Sum(Sales))=1,&amp;nbsp; Product),&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Product&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 20:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373059#M494146</guid>
      <dc:creator />
      <dc:date>2012-04-27T20:46:17Z</dc:date>
    </item>
    <item>
      <title>Rank for table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373060#M494147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try without the IF condition and with Rank out of Aggr function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rank(Aggr(Sum(Sales), Product))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luciano.-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 20:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373060#M494147</guid>
      <dc:creator />
      <dc:date>2012-04-27T20:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rank for table</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373061#M494148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luciano. Found the answer. &lt;/P&gt;&lt;P&gt;You solution returns numbers when I need text values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 22:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-for-table/m-p/373061#M494148</guid>
      <dc:creator />
      <dc:date>2012-04-27T22:32:14Z</dc:date>
    </item>
  </channel>
</rss>

