<?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: Nested Ranking in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832518#M999372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2015 13:56:51 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2015-06-18T13:56:51Z</dc:date>
    <item>
      <title>Nested Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832513#M999367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I am new to Qlikview. I would like to do Nested ranking.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Need to first Rank Top 5 Countries. In this top 5 country, for each country need to display top 2 states.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Sample data we have is:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Country State Sales&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;India&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;India&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 700&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;India&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;UAE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dubai&amp;nbsp;&amp;nbsp;&amp;nbsp; 900&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;UAE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AbuDhabi 800&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;UAE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 700&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;US&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;US&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;US&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S3 3000&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Gave a try with Dimension limits, set analysis Rank function...Was able to travel still one ranking but could not get nested ranking...&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks in advance for the help.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Qlikshare&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 14:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832513#M999367</guid>
      <dc:creator />
      <dc:date>2015-06-16T14:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832514#M999368</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;wellcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this, I work with Dimension limit with this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;COUNT&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Country&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;lt;2,2,3) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3 Country and 2 state, you can change this).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you click over a country in the graph you see the two states of the selected country that have the Greater sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 16:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832514#M999368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-16T16:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832515#M999369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can accomplish this by adding a button to select top 2 states within top 5 countries:&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/89647_Capture.PNG" style="height: 269px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you click on the button, it selects the top 2 states within top 5 countries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/89648_Capture2.PNG" style="height: 149px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 17:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832515#M999369</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-06-16T17:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832516#M999370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sinan. Is it possible to do same without Button.&lt;/P&gt;&lt;P&gt;The table has to be displayed always top 5 country and for each of this top 5 country show top 2 state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;qlikshare&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 07:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832516#M999370</guid>
      <dc:creator />
      <dc:date>2015-06-18T07:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832517#M999371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, please see the below screenshot:&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/89933_Capture.PNG" style="height: 178px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I placed the Aggr() function in an If statement and set it to &amp;lt;= 2. When this is true, I summed the sales by country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 12:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832517#M999371</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-06-18T12:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832518#M999372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 13:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832518#M999372</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-06-18T13:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Ranking</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832519#M999373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks Sinan and Kush..Both of your solutions worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 12:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-Ranking/m-p/832519#M999373</guid>
      <dc:creator />
      <dc:date>2015-06-20T12:11:06Z</dc:date>
    </item>
  </channel>
</rss>

