<?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: Need help in sorting top 5 values based on total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368151#M1172722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lakhina !!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2012 12:08:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-26T12:08:37Z</dc:date>
    <item>
      <title>Need help in sorting top 5 values based on total</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368148#M1172719</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;I'm Anand&amp;nbsp; and&amp;nbsp; am very new to qlikview , so i request you guys to help me out from this challenge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;overview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the qlikview and excel document attached there are "departments" as a,b,c,d, and their quarter sales in the tenure or quarter mentioned above&lt;/P&gt;&lt;P&gt;and the last total column is the performance and sum of all quarters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;challenge is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a table chart which can display the result of top performers based on the total and should display only the top 5 departments and the remaining departments should be included in "all others " which comes after the top 5 performers as shown in the excel image&amp;nbsp; attached .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what expression should be used to solve this challenge and where i should use that expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help!!!!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 20:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368148#M1172719</guid>
      <dc:creator />
      <dc:date>2012-07-25T20:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in sorting top 5 values based on total</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368149#M1172720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Dear Ananad, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Please have a look at the file attached for a solution. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I believe you need a claulated dimension like below: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;aggr(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;((&lt;SPAN style="color: #0000ff;"&gt;rank&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;( &lt;SPAN style="color: #800000;"&gt;Sales&lt;/SPAN&gt;)))&amp;lt;=5,&lt;SPAN style="color: #800000;"&gt;Department&lt;/SPAN&gt;,'All Others'),&lt;SPAN style="color: #800000;"&gt;Department&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Best of luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Rahul &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 07:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368149#M1172720</guid>
      <dc:creator />
      <dc:date>2012-07-26T07:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in sorting top 5 values based on total</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368150#M1172721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And to make 'All Others' be at the bottom, please change sort expression to below: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If(&lt;SPAN style="color: #0000ff;"&gt;rank&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Total&lt;/SPAN&gt; &amp;lt;&lt;SPAN style="color: #800000;"&gt;Department&lt;/SPAN&gt;&amp;gt; &lt;SPAN style="color: #800000;"&gt;Sales&lt;/SPAN&gt;))=1,7,&lt;SPAN style="color: #0000ff;"&gt;rank&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Total&lt;/SPAN&gt; &amp;lt;&lt;SPAN style="color: #800000;"&gt;Department&lt;/SPAN&gt;&amp;gt; &lt;SPAN style="color: #800000;"&gt;Sales&lt;/SPAN&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Rahul &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 07:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368150#M1172721</guid>
      <dc:creator />
      <dc:date>2012-07-26T07:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in sorting top 5 values based on total</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368151#M1172722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lakhina !!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 12:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368151#M1172722</guid>
      <dc:creator />
      <dc:date>2012-07-26T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in sorting top 5 values based on total</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368152#M1172723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use sort on total as descending order removing sort on all other dimension and promote total to top.now restrict max no. in prestentation tab to 6.after that go to dimension limit tab, check on limits box where you can restrict your top 5 values as largest.below that check on show other option.total of all other can be displayed using this option.This dimension limit option is available in qlikview 11 only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 09:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-sorting-top-5-values-based-on-total/m-p/368152#M1172723</guid>
      <dc:creator />
      <dc:date>2012-07-27T09:38:39Z</dc:date>
    </item>
  </channel>
</rss>

