<?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 Ranking - Top 20 Next 20 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432574#M814116</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 written a Sales Rep report that emails out a Top 20 Sales People graph in N Printing - Known as Division 1 Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now being asked to create a Division 2 Sales table, how in Qlik is it possible to create a table looking at the Ranked Sales 21 - 40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that Ranking has something to do with it but not sure how to use this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be gratefully received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432574#M814116</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 written a Sales Rep report that emails out a Top 20 Sales People graph in N Printing - Known as Division 1 Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now being asked to create a Division 2 Sales table, how in Qlik is it possible to create a table looking at the Ranked Sales 21 - 40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that Ranking has something to do with it but not sure how to use this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be gratefully received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432574#M814116</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432575#M814117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try expression something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;=if(rank(sum(Sales),0,1)&amp;gt;=21 and &lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;rank(sum(Sales),0,1)&amp;lt;= 40,sum(Sales))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432575#M814117</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T09:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432576#M814118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this,&lt;/P&gt;&lt;P&gt;=aggr(if(Rank(sum(Salary))&amp;gt;=21 and Rank(sum(Salary))&amp;lt;=40,Rank(sum(Salary))),Employee)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176904_Capture.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432576#M814118</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-09-18T09:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432577#M814119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have used a rank() in expression for creating the top 20 chart, the same expression could be modified for the 21-40 ranked sales. Say you have used expression something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'courier new', courier;"&gt;=Sum({&amp;lt;SalesMan={"=Rank(Sum(Sales))&amp;lt;=20"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 21-40, modifiy it to something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: 'courier new', courier;"&gt;=Sum({&amp;lt;SalesMan={"=Rank(Sum(Sales))&amp;gt;20 &lt;SPAN style="font-size: 13.3333px;"&gt;and Rank(Sum(Sales))&amp;lt;=40&lt;/SPAN&gt;"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432577#M814119</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-09-18T09:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432578#M814120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding the performance I'd recommend using set analysis, you could try it with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Employee = {"=Rank(SUM(Salary))&amp;gt;20"} * {"=Rank(SUM(Salary))&amp;lt;=40"}&amp;gt;}Salary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit 19.09.17: as &lt;A href="https://community.qlik.com/qlik-users/57428"&gt;kush141087&lt;/A&gt;‌ mentioned, the intersection is not as performant as the "and" operator:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Therefore&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13.3333px;"&gt;SUM({&amp;lt;Employee = {"=Rank(SUM(Salary))&amp;gt;20 and Rank(SUM(Salary))&amp;lt;=40"}&amp;gt;}Salary)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;should perform better&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432578#M814120</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2017-09-18T09:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432579#M814121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i know there is no function Rank() in script, But if really want to achieve then i would prefer like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Name, Sales&lt;/P&gt;&lt;P&gt;Rajendra, 10&lt;/P&gt;&lt;P&gt;Anil, 20&lt;/P&gt;&lt;P&gt;Weel, 30&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact_Copy:&lt;/P&gt;&lt;P&gt;LOAD Name,&lt;/P&gt;&lt;P&gt;sum(Sales) as Total_Sales&lt;/P&gt;&lt;P&gt;Resident Fact&lt;/P&gt;&lt;P&gt;GROUP BY Name;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact_S_Copy:&lt;/P&gt;&lt;P&gt;LOAD Name,&lt;/P&gt;&lt;P&gt;RowNo() as Rank,&lt;/P&gt;&lt;P&gt;Total_Sales&lt;/P&gt;&lt;P&gt;RESIDENT Fact_Copy&lt;/P&gt;&lt;P&gt;ORDER BY Total_Sales asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Fact_Copy;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Name,&lt;/P&gt;&lt;P&gt;Total_Sales,&lt;/P&gt;&lt;P&gt;if( Peek('Total_Sales') = Total_Sales, Peek('Dense_Rank'), Rank) as Dense_Rank&lt;/P&gt;&lt;P&gt;RESIDENT Fact_S_Copy&lt;/P&gt;&lt;P&gt;ORDER BY Total_Sales asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Fact_S_Copy;&lt;/P&gt;&lt;P&gt;DROP Field Sales;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432579#M814121</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-18T09:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432580#M814122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or better use set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=sum({&amp;lt;SalesRep ={"=rank(sum(Sales),0,1)&amp;gt;=21 and &lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;rank(sum(Sales),0,1)&amp;lt;= 40"}&amp;gt;} Sales)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432580#M814122</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T09:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432581#M814123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't the problem in this case that you precalculate a rank which doesn't react to selections.&lt;BR /&gt;Therefore selecting a specific Product group wouldn't actually give the correct rank for this group but for the whole precalculation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432581#M814123</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2017-09-18T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432582#M814124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dave,&lt;/P&gt;&lt;P&gt;Have you checked and sure the expression provided by Patrick really works? You marked it correct, however, the expression looks not correct to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432582#M814124</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-09-18T09:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432583#M814125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought, I've replied for this..&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I am now being asked to create a Division 2 Sales table, &lt;STRONG&gt;how in Qlik is it possible to create a table looking&lt;/STRONG&gt; at the Ranked Sales 21 - 40&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432583#M814125</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-18T09:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432584#M814126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt; seems it is modified now, after marking answer as correct &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432584#M814126</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T09:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432585#M814127</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;please find attached the sample Rank Application. &lt;BR /&gt;If there is a problem with my calculation I'm not aware of it to be honest. &lt;BR /&gt;In my sample application the expression works properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything specific you think might be wrong in my set?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432585#M814127</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2017-09-18T09:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432586#M814128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;A href="https://community.qlik.com/qlik-users/126093"&gt;patroser&lt;/A&gt;‌ out of two below which will be the faster?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1) SUM({&amp;lt;Employee = {"=Rank(SUM(Salary))&amp;gt;20"} * {"=Rank(SUM(Salary))&amp;lt;=40"}&amp;gt;}Salary)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2) SUM({&amp;lt;Employee = {"=Rank(SUM(Salary))&amp;gt;20 and Rank(SUM(Salary))&amp;lt;=40"}&amp;gt;}Salary)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432586#M814128</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T09:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432587#M814129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, sorry!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, this was a Typo because I tested it with greater 10 less 20 and forgot to change the second number too!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432587#M814129</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2017-09-18T09:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432588#M814130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/126093"&gt;patroser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was a typo in your expression when you posted before marked answer as correct, but you already modified it&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;Employee = {"=Rank(SUM(Salary))&amp;gt;20"} * {"=Rank(SUM(Salary))&amp;lt;=&lt;STRONG&gt;20&lt;/STRONG&gt;"}&amp;gt;}Salary)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 09:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432588#M814130</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T09:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432589#M814131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tbh I'm not sure, I'd need to check on this if there are remarkable performance differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My primary focus in answering was an setanalysis alternative to the "if(rank..." due to if not performing well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try to create a sample and check on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432589#M814131</guid>
      <dc:creator>patroser</dc:creator>
      <dc:date>2017-09-18T10:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432590#M814132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, expression you have suggested will take more time to compute as you are individually evaluating two sets for different conditions and then performing intersection. I might be completely wrong but logically it is what I feel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ can suggest on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 10:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432590#M814132</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T10:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432591#M814133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to everyone for your help and assistance, just one last bit of advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add some additional filters into the expression, what is the best way to get the following set analysis into the Rank expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;&lt;/P&gt;&lt;P&gt; CalendarMonth={$(vMonthCurrent)}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,CalendarYear ={$(vYearCurrent)}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,[SageSaleRep] -={'Inter Company NS', 'Inter Company CC','Inter Company NS'}&lt;/P&gt;&lt;P&gt; &amp;gt;}[GBR_Value]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 11:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432591#M814133</guid>
      <dc:creator />
      <dc:date>2017-09-18T11:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432592#M814134</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CalendarMonth={"$(vMonthCurrent)"},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CalendarYear ={"$(vYearCurrent)"}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[SageSaleRep] -={'Inter Company NS', 'Inter Company CC','Inter Company NS'},&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Employee = {"=Rank(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CalendarMonth={"$(vMonthCurrent)"},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CalendarYear ={"$(vYearCurrent)"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SageSaleRep] -={'Inter Company NS', 'Inter Company CC','Inter Company NS'}&amp;gt;}Salary),0,1)&amp;gt;20 and&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Rank(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CalendarMonth={"$(vMonthCurrent)"},&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CalendarYear ={"$(vYearCurrent)"},&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SageSaleRep] -={'Inter Company NS', 'Inter Company CC','Inter Company NS'}&amp;gt;}Salary),0,1)&amp;lt;=40"}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Salary)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 12:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432592#M814134</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-18T12:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranking - Top 20 Next 20</title>
      <link>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432593#M814135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Afraid it didn't work. I changed to - as Salary &amp;amp; Employye are aren't fields in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;CalendarMonth={"$(vMonthCurrent)"},CalendarYear ={"$(vYearCurrent)"},&lt;/P&gt;&lt;P&gt;[SageSaleRep] -={'Inter Company NS', 'Inter Company CC','Inter Company NS'},&lt;/P&gt;&lt;P&gt; [SageSaleRep]&amp;nbsp; = {"=Rank(SUM({&amp;lt;CalendarMonth={"$(vMonthCurrent)"},CalendarYear ={"$(vYearCurrent)"},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SageSaleRep] -={'Inter Company NS', 'Inter Company CC','Inter Company NS'}&amp;gt;}[GBR_Value]),0,1)&amp;gt;20 and&lt;/P&gt;&lt;P&gt;Rank(SUM({&amp;lt;CalendarMonth={"$(vMonthCurrent)"},CalendarYear ={"$(vYearCurrent)"},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SageSaleRep] -={'Inter Company NS', 'Inter Company CC','Inter Company NS'}&amp;gt;}[GBR_Value]),0,1)&amp;lt;=40"}&amp;gt;}[GBR_Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 12:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ranking-Top-20-Next-20/m-p/1432593#M814135</guid>
      <dc:creator />
      <dc:date>2017-09-18T12:13:19Z</dc:date>
    </item>
  </channel>
</rss>

