<?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 Pull top 5 when there is a tie in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145804#M462823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Aug 2016 22:25:34 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-21T22:25:34Z</dc:date>
    <item>
      <title>How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145800#M462819</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/171708"&gt;stalwar1&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;My question is to solve no 2) below. But first I want distincguish betn 1) &amp;amp; 2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) old post (qvw attached: "Rank_sort_1")&lt;/P&gt;&lt;P&gt;I was able to pull top 5 by using&amp;nbsp; Count({ &amp;lt; FieldA = {'1'}, Rank ={'&amp;lt;= 5'}&amp;gt;} ID) [Rank is derived from your script]. This qvw has data at ID level granularity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Indiv_rows.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135131_Indiv_rows.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2) New post (qvw attached: "Rank_sort_2") This qvw already has count per vendor aggregated represented by the field [Regular count].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;another diff is it does not have [FieldA] because the that req is already met. with avail data, how can I pull Top 5 vendor from ABC to ABCC but not ABEE&amp;nbsp; in a pivot table keeping Group and vendor in dimensions.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Aggr_rows.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/135132_Aggr_rows.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your generous description and continuous support. much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 21:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145800#M462819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-21T21:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145801#M462820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a sequel to &lt;A _jive_internal="true" href="https://community.qlik.com/message/1108568#1108568"&gt;https://community.qlik.com/message/1108568#1108568&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 21:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145801#M462820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-21T21:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145802#M462821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&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/135114_Capture.PNG" style="height: 367px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 22:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145802#M462821</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-21T22:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145803#M462822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes this works in this sample. checking in my app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 22:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145803#M462822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-21T22:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145804#M462823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 22:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145804#M462823</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-21T22:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145805#M462824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it should have worked. its pulling only 1 Group with correct results. I must have messed something &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 22:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145805#M462824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-21T22:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145806#M462825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try checking Always Fully Expanded on the properties tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 22:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145806#M462825</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-21T22:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145807#M462826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it was because of that. I have that option checked and its pulling top 5 the way I want it. I am trying to show total count for each Group; tried show partial sum for Group and/or vendor but no success &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 00:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145807#M462826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-22T00:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145808#M462827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(Aggr(Only({&amp;lt;Rank = {'&amp;lt;=5'}&amp;gt;}Count), Group, Vendor))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135115_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 00:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145808#M462827</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-22T00:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145809#M462828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="aggr1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135133_aggr1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is counting the number of vendor occurrences in the table. I tried &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(Aggr(Only({&amp;lt;Rank = {'&amp;lt;=5'}&amp;gt;}Count), Group, Vendor)) and it worked! Thank you so much sunny for sharing your genius and generosity. I am one lucky Qlikker&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 00:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145809#M462828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-22T00:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Pull top 5 when there is a tie</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145810#M462829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super &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, 22 Aug 2016 00:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Pull-top-5-when-there-is-a-tie/m-p/1145810#M462829</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-22T00:42:05Z</dc:date>
    </item>
  </channel>
</rss>

