<?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 get Top 5 Sales? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514630#M1141297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i think this will help ful&amp;nbsp; to you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes &lt;/P&gt;&lt;P&gt;plz marked this as Answered Question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Oct 2013 10:52:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-05T10:52:59Z</dc:date>
    <item>
      <title>How to get Top 5 Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514625#M1141292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to QlikView and trying to evaluate this simple scenario where I need to display top 5 sales by Product from the given data in a Bar Chart. (Please refer to the attached excel file Product_sales.xlsx).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used two dimensions:&lt;/P&gt;&lt;P&gt;1. Product&lt;/P&gt;&lt;P&gt;2. =if(aggr(rank(sum(Sales), product)&amp;lt;=5, product) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later in the expressions I simply used sum(Sales). But the same isn't working. Please assist.&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>Sat, 05 Oct 2013 05:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514625#M1141292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-05T05:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Top 5 Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514626#M1141293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;open chart select product as dimension&lt;BR /&gt;open dimension limits tab &amp;gt;&amp;gt; highlet the limits selection box, &amp;gt;&amp;gt;&amp;gt; show largest 5 values&lt;BR /&gt;open expression tab add your expression&lt;BR /&gt;go to sort tab ...sort the dimension with same expression as you entered in the expression tab.....with descending order...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Oct 2013 06:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514626#M1141293</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2013-10-05T06:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Top 5 Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514627#M1141294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to use a calculated dimension instead of Dimension Limits then you need to use only the calculated dimension. So remove the product dimension. The expression for the calculated dimension should be =if(aggr(rank(sum(sales)),product)&amp;lt;=5,product). You'll also want to enable the option Suppress When Value Is Null for the calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Oct 2013 07:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514627#M1141294</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-05T07:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Top 5 Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514628#M1141295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..Thanks for the solution. it's working.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Oct 2013 07:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514628#M1141295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-05T07:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Top 5 Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514629#M1141296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Prem..working by setting dimension limits also. I also got a dynamic solution using calculated dimension. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;=if(aggr(rank(sum(sales)),product)&amp;lt;=5,product)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Oct 2013 07:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514629#M1141296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-05T07:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Top 5 Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514630#M1141297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i think this will help ful&amp;nbsp; to you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes &lt;/P&gt;&lt;P&gt;plz marked this as Answered Question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Oct 2013 10:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514630#M1141297</guid>
      <dc:creator />
      <dc:date>2013-10-05T10:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Top 5 Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514631#M1141298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as per dimension limits the following additional result also works,&lt;/P&gt;&lt;P&gt;as per your soln,once check by&amp;nbsp; taking variable vTop and make scale with this variable and vary it &lt;/P&gt;&lt;P&gt;=if(aggr(rank(sum(sales)),product)&amp;lt;=$(vTop),product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(when using dimension limits ,limit the largest value as =$(vTop))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;premhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 11:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Top-5-Sales/m-p/514631#M1141298</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2013-10-18T11:24:14Z</dc:date>
    </item>
  </channel>
</rss>

