<?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: Ranking over a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043128#M350932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this example:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2016 03:23:09 GMT</pubDate>
    <dc:creator>ecolomer</dc:creator>
    <dc:date>2016-04-04T03:23:09Z</dc:date>
    <item>
      <title>Ranking over a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043127#M350931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community... I have a question.&amp;nbsp; I need to rank sales over a dimension, but I forgot something.&amp;nbsp; Check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first picture is the sales for Mar/2016 and a Producto Ranking.&amp;nbsp; The second one shows the same but over three month, having the criteria of ranking of sales of march. Until here, everything is good.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120342_Capture.PNG" style="height: 129px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if I add a ProdType dimension, the result is unexpected. Look...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/120357_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result must be: the top 5 product by ProdType, having march as the month for the ranking&lt;/P&gt;&lt;P&gt;I attached a QVW with sample data, in order you can see the problem.&amp;nbsp; Something is missing, because if I choose one ProdType a get the desire result.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 02:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043127#M350931</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2016-04-04T02:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking over a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043128#M350932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this example:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 03:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043128#M350932</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-04-04T03:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking over a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043129#M350933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Enrique, I already try this kind of solution including make a straight table but I need that just the Prod in the ranking appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 12:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043129#M350933</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2016-04-04T12:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking over a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043130#M350934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok... I got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MonYear, Prod={"=Aggr(Rank(Sum({&amp;lt;MonYear={'$(=MaxString(MonYear))'}&amp;gt;} Sales)),ProdType,Prod)&amp;lt;=5"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expresion make the problem solve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 19:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-over-a-dimension/m-p/1043130#M350934</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2016-04-04T19:38:08Z</dc:date>
    </item>
  </channel>
</rss>

