<?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: Error in cumulative sum calculation. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427649#M429796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that the calculation in QlikView is correct.&lt;/P&gt;&lt;P&gt;I am asking for an &lt;STRONG&gt;alternate&lt;/STRONG&gt; way to get the &lt;STRONG&gt;similar &lt;/STRONG&gt;output in QlikView in order to upload it in the ERP. The reason that the ERP is showing incorrect results is because the update has not took into consideration certain functions (rangesum() combined with the before()).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;To be clear:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aformentioned calculation is correct (i tested it several times). If you know a &lt;STRONG&gt;different &lt;/STRONG&gt;way to get the same result in QlikView please do tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Dec 2017 10:40:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-06T10:40:49Z</dc:date>
    <item>
      <title>Error in cumulative sum calculation.</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427645#M429792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So i have a QlikView application that calculates and predicts Cash Flow values.&lt;/P&gt;&lt;P&gt;The application is created in QlikView Desktop and then it is uploaded in a custom ERP program.&lt;/P&gt;&lt;P&gt;The problem i am facing (see below for the images) is that in a field where it holds the progressive cumulative sum of some values although i get the correct result in the QlikView Desktop, when i upload it in the ERP it damages the calculation.&lt;/P&gt;&lt;P&gt;The reason for that is that the yesterday the ERP had an update and it seems that some functions has not been set correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my question is:&lt;/P&gt;&lt;P&gt;Does anybody have any idea of a workaround for the aformentioned problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the correct result as shown in th QlikView Desktop&lt;IMG __jive_id="185713" alt="correct.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/185713_correct.png" style="height: 223px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code behind it is:&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dimensionality()=0&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; /*then*/ rangesum(before(column(1),1,1))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; /*else*/&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; The result i am getting in the ERP is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="185747" alt="WRONG.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/185747_WRONG.png" style="height: 83px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any help will be highly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 10:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427645#M429792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-05T10:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in cumulative sum calculation.</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427646#M429793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Qlikview instead of your broken custom ERP system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 09:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427646#M429793</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-12-06T09:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in cumulative sum calculation.</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427647#M429794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you mean that?&lt;/P&gt;&lt;P&gt;The QlikView App must be uploaded in the ERP system and the question refers to an alternate way to calculate the cumulative sum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 09:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427647#M429794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T09:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in cumulative sum calculation.</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427648#M429795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why? The calculation in Qlikview is correct. You're ERP was updated and now it shows incorrect results. Ergo, your ERP system is broken.&amp;nbsp; I doubt the solution is to create incorrect calculations in Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 10:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427648#M429795</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-12-06T10:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error in cumulative sum calculation.</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427649#M429796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that the calculation in QlikView is correct.&lt;/P&gt;&lt;P&gt;I am asking for an &lt;STRONG&gt;alternate&lt;/STRONG&gt; way to get the &lt;STRONG&gt;similar &lt;/STRONG&gt;output in QlikView in order to upload it in the ERP. The reason that the ERP is showing incorrect results is because the update has not took into consideration certain functions (rangesum() combined with the before()).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;To be clear:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aformentioned calculation is correct (i tested it several times). If you know a &lt;STRONG&gt;different &lt;/STRONG&gt;way to get the same result in QlikView please do tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 10:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427649#M429796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T10:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error in cumulative sum calculation.</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427650#M429797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly do you upload into your ERP system? An excel export of the pivot table from the .qvw file? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 16:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427650#M429797</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-12-06T16:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error in cumulative sum calculation.</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427651#M429798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. The images are just an image of the whole document. Due to sensitive data i didn't uploaded the whole application.&lt;/P&gt;&lt;P&gt;In the ERP I upload the whole QlikView document (.qvw file) as it is created in the QlikView Desktop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 21:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-cumulative-sum-calculation/m-p/1427651#M429798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T21:10:36Z</dc:date>
    </item>
  </channel>
</rss>

