<?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: My % Performance Calculation is not accumulating correctly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/My-Performance-Calculation-is-not-accumulating-correctly/m-p/330633#M573979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use 'the hardway' you mention above so that I can produce a value on each line, however, the calculation is not working as I need it to.&amp;nbsp; It is calculating the average for the current line and the lines above but this is not what I need.&amp;nbsp; What I need is Sales/Target as a % for each individual line, bearing in mind that the Sales and Target values are accumulated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eamonn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 09:39:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-03T09:39:24Z</dc:date>
    <item>
      <title>My % Performance Calculation is not accumulating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/My-Performance-Calculation-is-not-accumulating-correctly/m-p/330631#M573977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying in vain to produce a calculation on Sales data as per the following details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The % performance calculation in the attached QlikView application is not accumulating the way I want it to.&amp;nbsp; The application shows sample data with Sales values, Target values, a Performance calculation (Sales - Target) and a % Performance calculation (Sales/Target). I have 'Full Accumulation' selected on the first 3 calculations and 'No Accumulation' on the % Performance Calculation. This produces a Daily % Performance value as expected.&amp;nbsp; However, what I want to do is produce an accumulated % value.&amp;nbsp; For example, for day 3 the % Performance should be 180/187=96.25%.&amp;nbsp; It is displaying as 80% (chart 1), which is the % Performance for day 3 with no accumulation.&amp;nbsp; If I switch on 'Full Accumulation' for the % Performance it displays as 294.35% (chart 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone advise me on what calculation I need to use to produce what I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Eamonn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 08:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/My-Performance-Calculation-is-not-accumulating-correctly/m-p/330631#M573977</guid>
      <dc:creator />
      <dc:date>2012-07-03T08:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: My % Performance Calculation is not accumulating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/My-Performance-Calculation-is-not-accumulating-correctly/m-p/330632#M573978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;easy &lt;/STRONG&gt;way - Change the expression Total mode to &lt;STRONG&gt;Average&lt;/STRONG&gt; instead of Expression default. This should give you a correct accumulation according to your expectations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;hard &lt;/STRONG&gt;way - Use inter-record functions to calculate the rolling average:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rangeavg(above((Sales/Target),0,Rowno()))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 08:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/My-Performance-Calculation-is-not-accumulating-correctly/m-p/330632#M573978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-03T08:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: My % Performance Calculation is not accumulating correctly</title>
      <link>https://community.qlik.com/t5/QlikView/My-Performance-Calculation-is-not-accumulating-correctly/m-p/330633#M573979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use 'the hardway' you mention above so that I can produce a value on each line, however, the calculation is not working as I need it to.&amp;nbsp; It is calculating the average for the current line and the lines above but this is not what I need.&amp;nbsp; What I need is Sales/Target as a % for each individual line, bearing in mind that the Sales and Target values are accumulated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eamonn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 09:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/My-Performance-Calculation-is-not-accumulating-correctly/m-p/330633#M573979</guid>
      <dc:creator />
      <dc:date>2012-07-03T09:39:24Z</dc:date>
    </item>
  </channel>
</rss>

