<?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: RANK &amp; AGGR in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426677#M429617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPANY, REGION, AGENT, AMOUNT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 1, 500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 2, 320&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 3, 140&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 4, 700&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 5, 1100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 6, 230&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 7, 470&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 8, 2300&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 9, 70&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 10, 620&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(COMPANY = Previous(COMPANY) and REGION = Previous(REGION), RangeSum(Peek('RANK'), 1), 1) as RANK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By COMPANY, REGION, AMOUNT desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;drop Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2017 13:54:08 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-12-05T13:54:08Z</dc:date>
    <item>
      <title>RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426670#M429610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use rank employees in a ctegory and a sub categry i.e&lt;/P&gt;&lt;P&gt;rank an employee in all the region&lt;/P&gt;&lt;P&gt;and rank same empoyee in his department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course two different expressions &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;advansed thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 10:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426670#M429610</guid>
      <dc:creator>ilanbaruch</dc:creator>
      <dc:date>2017-12-05T10:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426671#M429611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use rank().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible provide sample data and expected output to help you better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 10:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426671#M429611</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-12-05T10:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426672#M429612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample or sample data you can share. Also, it would be helpful if you can share your expected output from the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 12:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426672#M429612</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-05T12:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426673#M429613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;please see attached table below,&lt;/P&gt;&lt;P&gt;i want to Rank() every agent in company level &lt;/P&gt;&lt;P&gt;and in his region level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;advanced thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="316"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" width="87"&gt;COMPANY&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-left: none;" width="81"&gt;REGION&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-left: none;" width="76"&gt;AGENT&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-left: none;" width="72"&gt;AMOUNT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;320&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;140&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 4&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 5&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 6&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;230&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 7&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;470&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 8&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 9&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;70&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;620&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426673#M429613</guid>
      <dc:creator>ilanbaruch</dc:creator>
      <dc:date>2017-12-05T13:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426674#M429614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;hi ,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;please see attached table below,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;i want to Rank() every agent by amount&amp;nbsp; in company level &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;and in his region level&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;advanced thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 316px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl66" height="20" width="87"&gt;COMPANY&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-left: none;" width="81"&gt;REGION&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-left: none;" width="76"&gt;AGENT&lt;/TD&gt;&lt;TD align="left" class="xl66" style="border-left: none;" width="72"&gt;AMOUNT&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;320&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;140&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 4&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 5&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;1100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 6&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;230&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 7&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;470&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 8&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;2300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 9&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;70&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;COMPNY_A&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;REGION_B&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;AGENT 10&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;620&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="19" style="border-top: none;"&gt;&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426674#M429614</guid>
      <dc:creator>ilanbaruch</dc:creator>
      <dc:date>2017-12-05T13:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426675#M429615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rank(Sum(AMOUNT))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426675#M429615</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-05T13:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426676#M429616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.&lt;/P&gt;&lt;P&gt;also with this: Aggr(Rank(Sum(amount),1,1),agent) &lt;/P&gt;&lt;P&gt;but i need this to run in the script, and in UI to be presented as a dimension,&lt;/P&gt;&lt;P&gt;and not to be influenced from user selections&lt;/P&gt;&lt;P&gt;or maybe it can be solved with set analysis in UI ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;apriciate your swift reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426676#M429616</guid>
      <dc:creator>ilanbaruch</dc:creator>
      <dc:date>2017-12-05T13:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426677#M429617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPANY, REGION, AGENT, AMOUNT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 1, 500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 2, 320&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 3, 140&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 4, 700&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_A, AGENT 5, 1100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 6, 230&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 7, 470&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 8, 2300&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 9, 70&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPNY_A, REGION_B, AGENT 10, 620&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(COMPANY = Previous(COMPANY) and REGION = Previous(REGION), RangeSum(Peek('RANK'), 1), 1) as RANK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By COMPANY, REGION, AMOUNT desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;drop Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426677#M429617</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-05T13:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426678#M429618</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 this expression that is working well&lt;/P&gt;&lt;P&gt; Aggr(Rank(Count(distinct [OrderID]),1,1),[Employee])&lt;/P&gt;&lt;P&gt;i need it to ignore user selection, is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 12:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426678#M429618</guid>
      <dc:creator>ilanbaruch</dc:creator>
      <dc:date>2017-12-06T12:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: RANK &amp; AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426679#M429619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Only({1}&lt;/SPAN&gt; Aggr(Rank(Count(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;distinct [OrderID]),1,1),[Employee])&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Aggr(Rank(Count(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;distinct [OrderID]),1,1),[Employee])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 12:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RANK-AGGR/m-p/1426679#M429619</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-06T12:54:27Z</dc:date>
    </item>
  </channel>
</rss>

