<?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: Rank of top 5 products in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533417#M1123931</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;In a table:&lt;/P&gt;&lt;P&gt;Create a calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: maroon;"&gt;[Sales]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;))&amp;lt;=5&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: maroon;"&gt;Product&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;, 'Others'),&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: maroon;"&gt;Product&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;Your expression will just be Sum(Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;In a list Box, create an expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &amp;lt;= 5, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And you need to sort this express by Sum(Sales) if you to order the products (the above expression only selects, it does not sort)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jan 2014 21:24:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-19T21:24:23Z</dc:date>
    <item>
      <title>Rank of top 5 products</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533412#M1123926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi can any body pls tell me how to find the rank top 5 sales products having different sales amount.&lt;/P&gt;&lt;P&gt;if sum(sales) in data is same for two products then these are grouped tp gether as one.remaing next sum(sales) we have to count.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Mahesh&amp;nbsp; T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 19:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533412#M1123926</guid>
      <dc:creator />
      <dc:date>2014-01-19T19:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rank of top 5 products</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533413#M1123927</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;Depending on your requirements there are different solutions.&lt;/P&gt;&lt;P&gt;If you want just a table with top 5 products and their sales use dimension limits.&lt;/P&gt;&lt;P&gt;There is also rank() function. So you can use it in expressions or calculated dimensions for more complex cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 19:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533413#M1123927</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-01-19T19:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rank of top 5 products</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533414#M1123928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if two Products sales are same&amp;nbsp; the accordig to requirment it should be groped suppose both having 3rd ranl then thes values as 3rd rank 4th one another one has to select next product value having next highest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 20:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533414#M1123928</guid>
      <dc:creator />
      <dc:date>2014-01-19T20:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rank of top 5 products</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533415#M1123929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;different ways to find top performers:&amp;nbsp;&amp;nbsp;&amp;nbsp; community.qlik.com/docs/DOC-5187&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;interesting discussion on the rank() function &lt;A href="https://community.qlik.com/thread/104546"&gt;Simple Rank() question&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 20:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533415#M1123929</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-01-19T20:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rank of top 5 products</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533416#M1123930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I have already said you can use rank() function.&lt;/P&gt;&lt;P&gt;=aggr(rank(Sum(amount)), Products)&lt;/P&gt;&lt;P&gt;It gives one row for two products if sales are same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 20:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533416#M1123930</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-01-19T20:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rank of top 5 products</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533417#M1123931</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;In a table:&lt;/P&gt;&lt;P&gt;Create a calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: maroon;"&gt;[Sales]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;))&amp;lt;=5&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: maroon;"&gt;Product&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;, 'Others'),&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: maroon;"&gt;Product&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;Your expression will just be Sum(Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;In a list Box, create an expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &amp;lt;= 5, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And you need to sort this express by Sum(Sales) if you to order the products (the above expression only selects, it does not sort)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 21:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533417#M1123931</guid>
      <dc:creator />
      <dc:date>2014-01-19T21:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rank of top 5 products</title>
      <link>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533418#M1123932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2014 21:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rank-of-top-5-products/m-p/533418#M1123932</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-01-19T21:37:42Z</dc:date>
    </item>
  </channel>
</rss>

