<?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 do this in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143977#M374499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the detailed post and really appreciate for your valuable time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Aug 2016 10:55:50 GMT</pubDate>
    <dc:creator>trdandamudi</dc:creator>
    <dc:date>2016-08-20T10:55:50Z</dc:date>
    <item>
      <title>How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143971#M374493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a basic row count function in a pivot table. when I use rank function it creates a tie for equals. is it possible to give position as show in the image below and can it be done at script level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when there is a tie I want the position not skip 4. so there&amp;nbsp; will be 2 4's. in other words disregard the usual interpretation of "Rank"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also pls see qvw attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pivot_table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135052_pivot_table.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 23:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143971#M374493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-19T23:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143972#M374494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please take a look at the below link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/104546"&gt;Simple Rank() question&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 00:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143972#M374494</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-08-20T00:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143973#M374495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing the post &lt;A href="https://community.qlik.com/people/trdandamudi"&gt;trdandamudi&lt;/A&gt;‌. I wonder if there are still limitations here (For instance what is the reason for dividing by 5), but was able to configure &lt;A href="https://community.qlik.com/people/maxgro"&gt;maxgro&lt;/A&gt;‌'s expression for it to work here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Div(Index(&lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;'-' &amp;amp; Concat(DISTINCT TOTAL &amp;lt;Group&amp;gt; Num(Aggr(Rank(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID),1,1),Group, Vendor), '0000'), '-', -Aggr(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID), Group, Vendor)), &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;Num(Rank(Count({ &amp;lt; FieldA = {'1'}&amp;gt;} ID),1,1),'0000')), 5) + 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135065_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 01:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143973#M374495</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-20T01:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143974#M374496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a script based solution:&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; Group, Vendor, ID, Trans_ID, FieldA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Black, UVW, A65, A165, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Black, WXY, A66, A166, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Black, WXY, A67, A167, 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Black, WXY, A68, A168, 0&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;&lt;STRONG&gt;TEMP:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Group,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Vendor,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Count(Vendor) as Count&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;Where FieldA = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Group, Vendor;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Group,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Vendor,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; AutoNumber(Count, Group) as Rank&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident TEMP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Group, Count desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table TEMP;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 01:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143974#M374496</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-20T01:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143975#M374497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you get a chance can you please let me know what exactly this expression is doing. It is little confusing with the division .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 02:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143975#M374497</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-08-20T02:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143976#M374498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to come up with a logic to explain to you made me realize when would Div by 5 break. Lets walk through the whole scenario and then I will explain when we would want to change from 5 to something else. (&lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="10670" data-objecttype="3" href="https://community.qlik.com/people/maxgro"&gt;Massimo&lt;/A&gt;‌ please free to correct me if I my understanding isn't right)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1-1)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(DISTINCT TOTAL &amp;lt;Group&amp;gt; Num(Aggr(Rank(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID),1,1),Group, Vendor), '0000'), '-', -Aggr(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID), Group, Vendor))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concate a distinct (&lt;STRONG&gt;USING DISTINCT&lt;/STRONG&gt;) list of possible ranks by each group (&lt;STRONG&gt;TOTAL &amp;lt;Group&amp;gt;&lt;/STRONG&gt;) which is sorted in ascending order using the expression &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;-Aggr(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID), Group, Vendor)&lt;/STRONG&gt;&lt;/SPAN&gt; and separated by '-'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign the possible list of rank a particular formatting here where they should all be 4 digit. I think the assumption here is that the max rank would ever be 9999, if this is not true, then you can change from '0000' to '00000'. This will not cover upto 99999 (this is where the division will come into play, which I will go into later)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="135066" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135066_Capture.PNG" style="font-size: 13.3333px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1-2)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Rank(Count({ &amp;lt; FieldA = {'1'}&amp;gt;} ID),1,1),'0000')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the rank for each row and assign it the same number formatting as the formatting assigned with the Concat function. '0000' or '00000'.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="135067" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/135067_Capture.PNG" style="font-size: 13.3333px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Index('-' &amp;amp; Concat(DISTINCT TOTAL &amp;lt;Group&amp;gt; Num(Aggr(Rank(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID),1,1),Group, Vendor), '0000'), '-', -Aggr(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID), Group, Vendor)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Rank(Count({ &amp;lt; FieldA = {'1'}&amp;gt;} ID),1,1),'0000'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the location of '-' within the concatenated list of rank, but this index function has a third parameter telling it to look for which '-' in the list. The third parameter is basically the rank from Step 1-2 which goes like 1, 2, 3. So basically what is the location of first 1st '-', 2nd '-' and so on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="135083" alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/135083_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Div(Index('-' &amp;amp; Concat(DISTINCT TOTAL &amp;lt;Group&amp;gt; Num(Aggr(Rank(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID),1,1),Group, Vendor), '0000'), '-', -Aggr(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID), Group, Vendor)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Rank(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID),1,1), '0000')), 5) + 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think we have to use Div function here, I believe that if the list of rank is small you can also use Pick match, but for a larger rank, div will work better here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is that since we have used '0000' as number formatting the location of '-' will change by 5 each time (2, 7, 12, 17, 22, 27, 32, ......) so dividing this by 5 will give us (0, 1, 2, 3, 4, 5, 6) and adding one to this will give us (1, 2, 3, 4, 5). Now for the cases we have repeating rank we will get the same position of '-' and for the next highest rank, even the concatenated list of ranks wouldn't have the next set of rank making this expression possible to get the number incrementally (look at the three highlighted rows below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="135086" alt="Capture.PNG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/135086_Capture.PNG" style="height: 343px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if for some reason we think that rank can run above 10,000, but less than 99,999, we might want to change the expression to this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Div(Index('-' &amp;amp; Concat(DISTINCT TOTAL &amp;lt;Group&amp;gt; Num(Aggr(Rank(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID),1,1),Group, Vendor), '&lt;SPAN style="color: #ff0000;"&gt;00000&lt;/SPAN&gt;'), '-', -Aggr(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID), Group, Vendor)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Rank(Count({&amp;lt;FieldA = {'1'}&amp;gt;} ID),1,1), '&lt;SPAN style="color: #ff0000;"&gt;00000&lt;/SPAN&gt;')), &lt;SPAN style="color: #ff0000;"&gt;6&lt;/SPAN&gt;) + 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="135085" alt="Capture.PNG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/135085_Capture.PNG" style="height: 351px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologize for the long post, but I hope this will clarify any doubts that we had and as mentioned above, if Massimo finds anything wrong with the logic here would be able to correct us as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 09:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143976#M374498</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-20T09:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143977#M374499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for the detailed post and really appreciate for your valuable time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 10:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143977#M374499</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-08-20T10:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143978#M374500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Group:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Group,&lt;/P&gt;&lt;P&gt;Vendor,&lt;/P&gt;&lt;P&gt;Count(Trans_ID) as [Regular Count]&lt;/P&gt;&lt;P&gt;Resident INLFED Group by Group, Vendor;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table INLFED;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (Group)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Group,&lt;/P&gt;&lt;P&gt;Vendor,&lt;/P&gt;&lt;P&gt;AutoNumber([Regular Count],Group) as Position&lt;/P&gt;&lt;P&gt;Resident Group Order by Group, [Regular Count] desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives for the Yellow group:&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Group&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Vendor&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Regular Count&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Position&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Yellow&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;12&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Yellow&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;YOY&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Yellow&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;CDE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Yellow&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;ABDD&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Yellow&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;MYM&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Yellow&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;ABCC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;5&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Yellow&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;ABEE&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 11:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143978#M374500</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-08-20T11:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143979#M374501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;A href="https://community.qlik.com/people/trdandamudi"&gt;trdandamudi&lt;/A&gt;‌. I think I need to thank you for bringing this technique to my notice. I would have not learned a new thing if it is not for you today. So thank you my friend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 11:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143979#M374501</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-20T11:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143980#M374502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one is very simple in nature but I am unable to pull the top 5. below: all 3 fields are from a table with out any aggregation.&lt;/P&gt;&lt;P&gt;how to show top 5: ABC, MYE, MYM, ABCC, ABCD, ABCE, YOU, YOY, CDE &amp;amp; CDF.&amp;nbsp; as an expression on the front end not on the back end. QVW attached as well. Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rank_image.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135107_rank_image.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 05:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143980#M374502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-21T05:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143981#M374503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you are still looking for John, did you get a chance to play around with Massimo's or Stefan's expression? That is not meeting your&amp;nbsp; requirement on the front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 13:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143981#M374503</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-21T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143982#M374504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, I am closing this thread and have moved my new discussion which is built on the same problem w slight variation to &lt;A _jive_internal="true" href="https://community.qlik.com/message/1108750#1108750"&gt; !https://community.qlik.com/message/1108750#1108750&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Aug 2016 21:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-in-the-script/m-p/1143982#M374504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-21T21:41:51Z</dc:date>
    </item>
  </channel>
</rss>

