<?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 Aggr function based on specified field AND dimension in Scalability</title>
    <link>https://community.qlik.com/t5/Scalability/Aggr-function-based-on-specified-field-AND-dimension/m-p/916595#M805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikComm,&lt;/P&gt;&lt;P&gt;I am trying to set a calculation which will tell me the value of the highest performing sales person based on their sales figures. I use the firstsortedvalue function with aggr, however, I want it to be calculated on the based off whatever dimension I have but of course with the salesperson as primary aggr dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g, only have this as Expression&amp;nbsp; firstsortedvalue(Salesperson, -aggr(sum(sales),Salesperson))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then have MONTH as dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know we can add it to the expression, but the point is to use this calc in a few more objects with different dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 01:37:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-10T01:37:58Z</dc:date>
    <item>
      <title>Aggr function based on specified field AND dimension</title>
      <link>https://community.qlik.com/t5/Scalability/Aggr-function-based-on-specified-field-AND-dimension/m-p/916595#M805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi QlikComm,&lt;/P&gt;&lt;P&gt;I am trying to set a calculation which will tell me the value of the highest performing sales person based on their sales figures. I use the firstsortedvalue function with aggr, however, I want it to be calculated on the based off whatever dimension I have but of course with the salesperson as primary aggr dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g, only have this as Expression&amp;nbsp; firstsortedvalue(Salesperson, -aggr(sum(sales),Salesperson))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then have MONTH as dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know we can add it to the expression, but the point is to use this calc in a few more objects with different dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 01:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Aggr-function-based-on-specified-field-AND-dimension/m-p/916595#M805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-10T01:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr function based on specified field AND dimension</title>
      <link>https://community.qlik.com/t5/Scalability/Aggr-function-based-on-specified-field-AND-dimension/m-p/916596#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95469_Capture.PNG" style="height: 148px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/95470_Capture.PNG" style="height: 121px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 03:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Aggr-function-based-on-specified-field-AND-dimension/m-p/916596#M806</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-10T03:37:02Z</dc:date>
    </item>
  </channel>
</rss>

