<?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 as an expression within dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-as-an-expression-within-dimensions/m-p/442084#M164800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been search the forum for a few days on the Rank function and have not come across anything similar to my scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to rank a dimension (Item #) within a second dimension (Store #) by an expression (sum(Qty)).&amp;nbsp; I know I will need to use an aggr to group within the Store # dimension, but have not been able to come up with the right syntax to get to my result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is where I started:&amp;nbsp; aggr(rank(sum({$&amp;lt;Year={$(=max(Year))}&amp;gt;}QTY), 0, 1), ITEM#, STORE#) (not working)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my desired result:&amp;nbsp; &lt;IMG __jive_id="37763" class="jive-image" alt="Untitled3.png" src="https://community.qlik.com/legacyfs/online/37763_Untitled3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help if you can!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 18:47:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-10T18:47:44Z</dc:date>
    <item>
      <title>Rank as an expression within dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-as-an-expression-within-dimensions/m-p/442084#M164800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been search the forum for a few days on the Rank function and have not come across anything similar to my scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to rank a dimension (Item #) within a second dimension (Store #) by an expression (sum(Qty)).&amp;nbsp; I know I will need to use an aggr to group within the Store # dimension, but have not been able to come up with the right syntax to get to my result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is where I started:&amp;nbsp; aggr(rank(sum({$&amp;lt;Year={$(=max(Year))}&amp;gt;}QTY), 0, 1), ITEM#, STORE#) (not working)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my desired result:&amp;nbsp; &lt;IMG __jive_id="37763" class="jive-image" alt="Untitled3.png" src="https://community.qlik.com/legacyfs/online/37763_Untitled3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help if you can!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 18:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-as-an-expression-within-dimensions/m-p/442084#M164800</guid>
      <dc:creator />
      <dc:date>2013-04-10T18:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rank as an expression within dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-as-an-expression-within-dimensions/m-p/442085#M164801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm have the same problem. Did you solve yours?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 18:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-as-an-expression-within-dimensions/m-p/442085#M164801</guid>
      <dc:creator>ceciliafujita</dc:creator>
      <dc:date>2014-09-17T18:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Rank as an expression within dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-as-an-expression-within-dimensions/m-p/442086#M164802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Nicole, i solved: AGGR(NODISTINCT(RANK( $(yourMetric)_or_Formula())), DIM1, DIM2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 19:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-as-an-expression-within-dimensions/m-p/442086#M164802</guid>
      <dc:creator>ceciliafujita</dc:creator>
      <dc:date>2014-09-17T19:10:00Z</dc:date>
    </item>
  </channel>
</rss>

