<?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: Using accumulated values in chart for calculation is not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445001#M566966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I only accumulate the past 3 value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired the below, but the result is not good.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rangesum(above(Sum(Sales), &lt;/EM&gt;&lt;EM&gt;Rowno()-3&lt;/EM&gt;&lt;EM&gt;, Rowno()))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG __jive_id="25358" class="jive-image-thumbnail jive-image" onclick="" alt="qv_accum3.JPG" src="https://community.qlik.com/legacyfs/online/25358_qv_accum3.JPG" width="450" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Bule line is the correct result using qv chart accumulation=3. Green line is the actual number&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Red bar is my bad calculation&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 02:30:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-20T02:30:26Z</dc:date>
    <item>
      <title>Using accumulated values in chart for calculation is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/444999#M566964</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;I have 2 accumulated values in my chart.&lt;/P&gt;&lt;P&gt;When I tried to use the 2 values to calculated a 3rd value with the formula &lt;STRONG&gt;(=sum2/count1)&lt;/STRONG&gt;, the result is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for the last result: &lt;STRONG&gt;sum2/count1&lt;/STRONG&gt; = 53.0/39.7 should be 0.74 and not 0.6. &lt;/P&gt;&lt;P&gt;QV seems to ignore the accumulated values and use back the original values.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="25261" class="jive-image-thumbnail jive-image" height="257" onclick="" alt="qv_accum.JPG" src="https://community.qlik.com/legacyfs/online/25261_qv_accum.JPG" width="558" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to calculate the correct result is greatly appreciate &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 10:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/444999#M566964</guid>
      <dc:creator />
      <dc:date>2012-11-19T10:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using accumulated values in chart for calculation is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445000#M566965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it will use the actual values for the data points, not the accumulated range.&lt;/P&gt;&lt;P&gt;You'll need to modify the expressions to actually calculate the accumulated value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if the dimension is YearMonth and your expression is Sum(Sales), you could do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rangesum(above(Sum(Sales), 0, Rowno()))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would calculate the rangesum starting from the current "row" and adding as many previous ones as you have values in your dimension up to this point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 10:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445000#M566965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-19T10:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using accumulated values in chart for calculation is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445001#M566966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I only accumulate the past 3 value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired the below, but the result is not good.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rangesum(above(Sum(Sales), &lt;/EM&gt;&lt;EM&gt;Rowno()-3&lt;/EM&gt;&lt;EM&gt;, Rowno()))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG __jive_id="25358" class="jive-image-thumbnail jive-image" onclick="" alt="qv_accum3.JPG" src="https://community.qlik.com/legacyfs/online/25358_qv_accum3.JPG" width="450" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Bule line is the correct result using qv chart accumulation=3. Green line is the actual number&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Red bar is my bad calculation&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 02:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445001#M566966</guid>
      <dc:creator />
      <dc:date>2012-11-20T02:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using accumulated values in chart for calculation is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445002#M566967</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;Try:&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;rangesum(above(Sum(Sales), 0, 3))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 02:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445002#M566967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-20T02:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using accumulated values in chart for calculation is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445003#M566968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works! Your are great! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 02:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445003#M566968</guid>
      <dc:creator />
      <dc:date>2012-11-20T02:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using accumulated values in chart for calculation is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445004#M566969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm a newbie on Qlik View but I have to face a particular requirement on this moment.&lt;/P&gt;&lt;P&gt;The user is asking to have the possibility to zoom over a line chart to go in a more detailed and filtered graph.&lt;BR /&gt;At the moment QV do it but the initial value of new zoomed detailed graph is always 0.&lt;/P&gt;&lt;P&gt;Is there a trik to mantain, as initial value, the cumulated valued present on original graph ?&lt;/P&gt;&lt;P&gt;I hope you will understand ... my question... ;-))&lt;/P&gt;&lt;P&gt;I replayed here becouse the topic seems similar.&lt;/P&gt;&lt;P&gt;Many thank&lt;/P&gt;&lt;P&gt;Giovanni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 08:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-accumulated-values-in-chart-for-calculation-is-not-working/m-p/445004#M566969</guid>
      <dc:creator />
      <dc:date>2017-08-10T08:43:14Z</dc:date>
    </item>
  </channel>
</rss>

