<?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: How to include equal rank rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128427#M371165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It did seem to work well for A, but how about C, I don't think it worked for C, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134826_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Showing just two values. I know we can resolve this in the script, but then we loose the dynamicaness of the Rank function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2016 07:56:38 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-18T07:56:38Z</dc:date>
    <item>
      <title>How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128419#M371157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table that's pulling top 5 vendors. it is working except when there is a tie. the middle table is a pivot table which is only pulling up to vendor 5. I want it to pull vendors 1,2,3,4,5 and 6 (First Table has simple count function where its bringing all vendors). the logic is: if there is a tie, it should ignore th rank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({ &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;fieldA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &amp;lt;=5,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FieldA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Vendor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt; in the expression but it is not working. Can you please suggest. I have also included load inline statement below if you would like to reload.&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;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Tie_Breaker.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134803_Tie_Breaker.PNG" style="width: 682px; height: 293px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Group, Vendor, ID, ADD, FieldA&lt;BR /&gt; A, 1, A1, 1, 1&lt;BR /&gt; A, 1, A1, 2, 1&lt;BR /&gt; A, 1, A1, 3, 1&lt;BR /&gt; A, 1, A1, 4, 1&lt;BR /&gt; A, 1, A1, 5, 1&lt;BR /&gt; A, 1, A2, 6, 1&lt;BR /&gt; A, 1, A3, 7, 1&lt;BR /&gt; A, 1, A4, 8, 1&lt;BR /&gt; A, 1, A5, 9, 1&lt;BR /&gt; A, 1, A6, 10, 1&lt;BR /&gt; A, 1, A7, 11, 1&lt;BR /&gt; A, 1, A8, 12, 1&lt;BR /&gt; A, 1, A9, 13, 1&lt;BR /&gt; A, 2, A11, 15, 1&lt;BR /&gt; A, 2, A12, 16, 1&lt;BR /&gt; A, 2, A13, 17, 1&lt;BR /&gt; A, 2, A72, 18, 1&lt;BR /&gt; A, 2, A14, 18, 1&lt;BR /&gt; A, 3, A73, 19, 1&lt;BR /&gt; A, 3, A15, 19, 1&lt;BR /&gt; A, 3, A16, 20, 1&lt;BR /&gt; A, 3, A17, 21, 1&lt;BR /&gt; A, 3, A18, 22, 1&lt;BR /&gt; A, 4, A19, 23, 1&lt;BR /&gt; A, 4, A20, 24, 1&lt;BR /&gt; A, 4, A21, 25, 1&lt;BR /&gt; A, 4, A22, 26, 1&lt;BR /&gt; A, 5, A60, 27, 1&lt;BR /&gt; A, 5, A23, 27, 1&lt;BR /&gt; A, 5, A24, 28, 1&lt;BR /&gt; A, 5, A25, 29, 1&lt;BR /&gt; A, 6, A73, 30, 1&lt;BR /&gt; A, 6, A26, 30, 1&lt;BR /&gt; A, 6, A27, 31, 1&lt;BR /&gt; A, DD, A29, 31, 1&lt;BR /&gt; A, DD, A30, 31, 1&lt;BR /&gt; A, CC, A28, 31, 1&lt;BR /&gt; A, EF, A31, 31, 1&lt;BR /&gt; A, GH, A32, 31, 1&lt;BR /&gt; B, 12, A34, 31, 1&lt;BR /&gt; B, 1, A1, 1, 1&lt;BR /&gt; B, 1, A1, 2, 1&lt;BR /&gt; B, 1, A1, 3, 1&lt;BR /&gt; B, 1, A1, 4, 1&lt;BR /&gt; B, 2, A1, 5, 1&lt;BR /&gt; B, 2, A2, 6, 1&lt;BR /&gt; B, 2, A3, 7, 1&lt;BR /&gt; B, 3, A4, 8, 1&lt;BR /&gt; B, 3, A5, 9, 1&lt;BR /&gt; B, 3, A15, 19, 1&lt;BR /&gt; B, 3, A16, 20, 1&lt;BR /&gt; B, 3, A17, 21, 1&lt;BR /&gt; B, 6, A1, 1, 1&lt;BR /&gt; B, 6, A1, 2, 1&lt;BR /&gt; B, 6, A1, 3, 1&lt;BR /&gt; B, 6, A1, 4, 1&lt;BR /&gt; B, 6, A1, 5, 1&lt;BR /&gt; B, 6, A2, 6, 1&lt;BR /&gt; B, 6, A3, 7, 1&lt;BR /&gt; B, 6, A4, 8, 1&lt;BR /&gt; B, CC, A28, 31, 1&lt;BR /&gt; B, DD, A29, 31, 1&lt;BR /&gt; B, DD, A30, 31, 1&lt;BR /&gt; B, EF, A31, 31, 1&lt;BR /&gt; B, GH, A32, 31, 1&lt;BR /&gt; C, CC, 6, 32, 1&lt;BR /&gt; C, CC, 7, 32, 1&lt;BR /&gt; C, CC, 8, 33, 1&lt;BR /&gt; C, DD, 4, 34, 1&lt;BR /&gt; C, DD, 5, 35, 1&lt;BR /&gt; C, 1, 8, 36, 1&lt;BR /&gt; C, 1, 9, 37, 1&lt;BR /&gt; C, 2, 4, 38, 1&lt;BR /&gt; C, 3, 5, 39, 1&lt;BR /&gt; D, 4, 8, 40, 1&lt;BR /&gt; D, 5, 9, 41, 1&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 23:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128419#M371157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-17T23:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128420#M371158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two ties in your table, 2 5s and 2 4s, would you want to bring 1, 2, 3, 4, 5, 6, 7 in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 00:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128420#M371158</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-18T00:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128421#M371159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes there are 2 ties. when there is a tie, &lt;SPAN style="font-size: 13.3333px;"&gt;for eg. with vendor 2&amp;amp;3 has 5; vendor 4&amp;amp;5 has 4, i want the function &lt;/SPAN&gt;to treat rank as shown by Position colm below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Vendor&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Count&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Position&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;DD&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes u are right, based on this, it should show &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1, 2, 3, 4, 5, 6 &amp;amp; DDin this case. Thanks much&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 01:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128421#M371159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-18T01:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128422#M371160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Funny thing is I am not sure how it worked but try this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum(aggr(if( Rank(rank(count({ &amp;lt; fieldA = {'1'}&amp;gt;} ID),3,1),4)&amp;gt;=4 ,count({&amp;lt; FieldA = {1}&amp;gt;} ID)),Group, Vendor))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sunny could you look into this and explain if possible??&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 02:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128422#M371160</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-18T02:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128423#M371161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the summary on what I need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tie breaker.PNG" class="jive-image image-1" src="/legacyfs/online/134812_tie breaker.PNG" style="height: 214px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also pls find qvw attached. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 02:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128423#M371161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-18T02:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128424#M371162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;Did you try that expression i have posted above ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 03:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128424#M371162</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-18T03:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128425#M371163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vish Thanks for your reply. yes it works in this sample. Let me try in the actual app and will post here. can you explain your logic. bcoz I need to pull top 5. not sure how your code fits the top 5 logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 03:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128425#M371163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-18T03:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128426#M371164</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;Maybe something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="134805" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134805_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp: count({&amp;lt; FieldA = {1},Vendor={"=rangesum(Above(if( Above(count({&amp;lt; FieldA = {1}&amp;gt;} ID))=count({&amp;lt; FieldA = {1}&amp;gt;} ID),0, 1),0,RowNo()))"}&amp;gt;} ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 05:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128426#M371164</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2016-08-18T05:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128427#M371165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It did seem to work well for A, but how about C, I don't think it worked for C, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134826_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Showing just two values. I know we can resolve this in the script, but then we loose the dynamicaness of the Rank function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 07:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128427#M371165</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-18T07:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128428#M371166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems like a promising approach. Just a few tweaks to make it work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;AutoNumber(Group&amp;amp;Vendor) as Key&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group, Vendor, ID, ADD, FieldA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, 1, A1, 1, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, 1, A1, 2, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, 1, A1, 3, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, 1, A1, 4, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&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;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt; FieldA = {1}, Key = {"=Aggr(RangeSum(Above(If(Above(Count({&amp;lt; FieldA = {1}&amp;gt;} ID)) = Count({&amp;lt; FieldA = {1}&amp;gt;} ID),0, 1),0,RowNo())), Group, Vendor) &amp;lt;= 5"}&amp;gt;} ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134827_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 08:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128428#M371166</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-18T08:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128429#M371167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌thank you sunny. I will try this and post it soon here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 15:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128429#M371167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-18T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to include equal rank rows</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128430#M371168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="data_model.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134959_data_model.PNG" style="height: 333px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HI sunny my data model is a little complex: 'Group' that rolls up based on Filename is in a diff table than 'Vendor' and ID &amp;amp; Field A. because of which I am not getting correct result. If it was one table then of course what you suggested was brilliant. I am still working on it, the app is pretty big. will post. Thank you so much. Kind Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 02:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-equal-rank-rows/m-p/1128430#M371168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-19T02:36:12Z</dc:date>
    </item>
  </channel>
</rss>

