<?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 Application performance using RANK in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Application-performance-using-RANK/m-p/66678#M11038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a rank calculation where I want to show the top 10 customers based on the sales quantity, my calculation is done as a dimension and looks like this to get the rank:&lt;/P&gt;&lt;P&gt;=aggr(NODISTINCT rank(sum(quantity)),customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there, I then do an if statement on the customer name which looks like this:&lt;/P&gt;&lt;P&gt;=if((aggr(NODISTINCT rank(sum(quantity)),customer))&lt;/P&gt;&lt;P&gt;&amp;lt;= 10, &lt;/P&gt;&lt;P&gt;customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to the number of records in the system, this takes ages, and sometimes, does not run. What do you recommend? Have I approached this correctly? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Dayna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 16:50:31 GMT</pubDate>
    <dc:creator>Dayna</dc:creator>
    <dc:date>2018-03-21T16:50:31Z</dc:date>
    <item>
      <title>Application performance using RANK</title>
      <link>https://community.qlik.com/t5/QlikView/Application-performance-using-RANK/m-p/66678#M11038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a rank calculation where I want to show the top 10 customers based on the sales quantity, my calculation is done as a dimension and looks like this to get the rank:&lt;/P&gt;&lt;P&gt;=aggr(NODISTINCT rank(sum(quantity)),customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From there, I then do an if statement on the customer name which looks like this:&lt;/P&gt;&lt;P&gt;=if((aggr(NODISTINCT rank(sum(quantity)),customer))&lt;/P&gt;&lt;P&gt;&amp;lt;= 10, &lt;/P&gt;&lt;P&gt;customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to the number of records in the system, this takes ages, and sometimes, does not run. What do you recommend? Have I approached this correctly? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Dayna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-performance-using-RANK/m-p/66678#M11038</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2018-03-21T16:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Application performance using RANK</title>
      <link>https://community.qlik.com/t5/QlikView/Application-performance-using-RANK/m-p/66679#M11039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Table (straight or pivot)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dimension&lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Customer = {"=Rank(SUM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;quantity&lt;/SPAN&gt;))&amp;lt;=10"}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;quantity)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:53:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-performance-using-RANK/m-p/66679#M11039</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2018-03-21T16:53:09Z</dc:date>
    </item>
  </channel>
</rss>

