<?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: Help in Rank function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598034#M1107234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add Country to your aggregation. That should be fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 04:02:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-20T04:02:48Z</dc:date>
    <item>
      <title>Help in Rank function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598033#M1107233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;I have a pivot table using rank function to display top 15 brands country wise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Here the problem I'm facing is some brand is not present in some country lik eg :-Aus doent have brand C which comes under rank 10 (See rank 10 not present in excel file)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;I have to display 15 brands for each country, but because of some brands not present say&amp;nbsp; Aus it showing only 13 instead of 15.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Can anyone suggest on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Attached is the sample excel file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Formula for Rank:-=aggr(rank(sum([SALES])),BRAND)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Formula for Brand=if(aggr(rank(sum([SALES])),BRAND)&amp;lt;=15,BRAND) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 10pt;"&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 03:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598033#M1107233</guid>
      <dc:creator>thomas_skariah</dc:creator>
      <dc:date>2014-03-20T03:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Rank function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598034#M1107234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add Country to your aggregation. That should be fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 04:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598034#M1107234</guid>
      <dc:creator />
      <dc:date>2014-03-20T04:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help in Rank function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598035#M1107235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Hi ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Is there any way that if any of the countries have have brand less than 15, then also it should show 15 rows.With the rest of the row keep as blank?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 07:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598035#M1107235</guid>
      <dc:creator>thomas_skariah</dc:creator>
      <dc:date>2014-03-20T07:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Rank function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598036#M1107236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your sample file is wrong.&lt;/P&gt;&lt;P&gt;how come AUS, Brand A is coming twice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 08:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598036#M1107236</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-20T08:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Rank function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598037#M1107237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;I have mentioned only the initials .So its two different brand with same initials.Sorry for confusion.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 08:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598037#M1107237</guid>
      <dc:creator>thomas_skariah</dc:creator>
      <dc:date>2014-03-20T08:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help in Rank function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598038#M1107238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to address this at the script to insert a dummy record with a 0 value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 08:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Rank-function/m-p/598038#M1107238</guid>
      <dc:creator />
      <dc:date>2014-03-20T08:32:43Z</dc:date>
    </item>
  </channel>
</rss>

