<?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: Only top 5 in bar chart, but not top 5 in each dimension value. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354900#M516835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you were using &amp;lt;=10 in your sample... change your second dimension to this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(Rank(TOTAL count(Name),4)&amp;lt;=5,Name),Name)&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/159241_Capture.PNG" style="height: 289px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 12:02:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-04-06T12:02:03Z</dc:date>
    <item>
      <title>Only top 5 in bar chart, but not top 5 in each dimension value.</title>
      <link>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354899#M516834</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 am trying to create a bar chart like the one in the below screenshot. However, I would like to see only the top 5 Names. By top 5 I mean - the names with highest value of count(Name) irrespective of month. In the table, J=5, which means J belongs to Apr,Feb,Jun,Mar &amp;amp; May hence 5.&lt;/P&gt;&lt;P&gt;So, how do I show only top 5 names in the bar chart?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159239_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 11:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354899#M516834</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-04-06T11:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Only top 5 in bar chart, but not top 5 in each dimension value.</title>
      <link>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354900#M516835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you were using &amp;lt;=10 in your sample... change your second dimension to this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(Rank(TOTAL count(Name),4)&amp;lt;=5,Name),Name)&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/159241_Capture.PNG" style="height: 289px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 12:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354900#M516835</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-06T12:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Only top 5 in bar chart, but not top 5 in each dimension value.</title>
      <link>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354901#M516836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this similar post?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/256018"&gt;Show only top 10 legends, keeping the chart as it is&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean you want to show all Name in all Months but only want to display top 5 names in Legend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 12:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354901#M516836</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-04-06T12:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Only top 5 in bar chart, but not top 5 in each dimension value.</title>
      <link>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354902#M516837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was a very silly mistake. Anyways, Thank you Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 12:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354902#M516837</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-04-06T12:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Only top 5 in bar chart, but not top 5 in each dimension value.</title>
      <link>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354903#M516838</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;&lt;/P&gt;&lt;P&gt;in that post my question was on the legend.&lt;/P&gt;&lt;P&gt;Anyways that post had half of my answer there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 12:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354903#M516838</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-04-06T12:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Only top 5 in bar chart, but not top 5 in each dimension value.</title>
      <link>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354904#M516839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you got what you were looking for? or are you still looking for help? If you got what you wanted, please close the thread by marking correct and helpful responses.&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>Thu, 06 Apr 2017 12:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354904#M516839</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-06T12:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Only top 5 in bar chart, but not top 5 in each dimension value.</title>
      <link>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354905#M516840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I thought. In your earlier post, you have got the reply which you are looking for in this post (I think).&lt;/P&gt;&lt;P&gt;Anyway, close the thread if you got your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 13:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-top-5-in-bar-chart-but-not-top-5-in-each-dimension-value/m-p/1354905#M516840</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-04-06T13:17:17Z</dc:date>
    </item>
  </channel>
</rss>

