<?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 Help aggr function price effect in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-aggr-function-price-effect/m-p/1243708#M619528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to determine the price effect of a variation of employee cost.&lt;/P&gt;&lt;P&gt;No problem when I create a Table, and use as Dimension the grade (ESCALA) of the employees:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRICE EFFECT=&lt;/P&gt;&lt;P&gt;((Sum({&amp;lt;FinancialYear={2017}TRANS_AMOUNT)/Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2017}EMPNUM), PAY_PERIOD,ESCALA)))&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;(Sum({&amp;lt;FinancialYear={2016}TRANS_AMOUNT)/Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2016}&amp;gt;}EMPNUM), PAY_PERIOD,ESCALA))))&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2017}&amp;gt;}EMPNUM), PAY_PERIOD,ESCALA)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And making the sum of the rows gives me the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem comes when I want to get the same figure but on a KPI object for reporting purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know what formula I should use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Mar 2017 14:40:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-07T14:40:59Z</dc:date>
    <item>
      <title>Help aggr function price effect</title>
      <link>https://community.qlik.com/t5/QlikView/Help-aggr-function-price-effect/m-p/1243708#M619528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to determine the price effect of a variation of employee cost.&lt;/P&gt;&lt;P&gt;No problem when I create a Table, and use as Dimension the grade (ESCALA) of the employees:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRICE EFFECT=&lt;/P&gt;&lt;P&gt;((Sum({&amp;lt;FinancialYear={2017}TRANS_AMOUNT)/Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2017}EMPNUM), PAY_PERIOD,ESCALA)))&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;(Sum({&amp;lt;FinancialYear={2016}TRANS_AMOUNT)/Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2016}&amp;gt;}EMPNUM), PAY_PERIOD,ESCALA))))&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2017}&amp;gt;}EMPNUM), PAY_PERIOD,ESCALA)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And making the sum of the rows gives me the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem comes when I want to get the same figure but on a KPI object for reporting purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know what formula I should use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 14:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-aggr-function-price-effect/m-p/1243708#M619528</guid>
      <dc:creator />
      <dc:date>2017-03-07T14:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help aggr function price effect</title>
      <link>https://community.qlik.com/t5/QlikView/Help-aggr-function-price-effect/m-p/1243709#M619529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Sum(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;((Sum({&amp;lt;FinancialYear={2017}TRANS_AMOUNT)/Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2017}EMPNUM), PAY_PERIOD,ESCALA)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(Sum({&amp;lt;FinancialYear={2016}TRANS_AMOUNT)/Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2016}&amp;gt;}EMPNUM), PAY_PERIOD,ESCALA))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Avg(Aggr(count(distinct{&amp;lt;FinancialYear={2017}&amp;gt;}EMPNUM), PAY_PERIOD,ESCALA)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;ESCALA))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 16:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-aggr-function-price-effect/m-p/1243709#M619529</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-07T16:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help aggr function price effect</title>
      <link>https://community.qlik.com/t5/QlikView/Help-aggr-function-price-effect/m-p/1243710#M619530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it works !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 07:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-aggr-function-price-effect/m-p/1243710#M619530</guid>
      <dc:creator />
      <dc:date>2017-03-08T07:05:00Z</dc:date>
    </item>
  </channel>
</rss>

