<?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: Cumulative Sum on the previous commun Columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1907605#M1217978</link>
    <description>&lt;P&gt;Hello Henric,&lt;/P&gt;
&lt;P&gt;I applied the formula but now while doing the test i have duplicated lines whenever i added the CumulativeQty&lt;/P&gt;
&lt;P&gt;and i can't use Distinct since i already search recurrences can you help with that ?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 13:19:56 GMT</pubDate>
    <dc:creator>RanOuerg</dc:creator>
    <dc:date>2022-03-21T13:19:56Z</dc:date>
    <item>
      <title>Cumulative Sum on the previous commun Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1900460#M1217705</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i need help to solve this issue , i've tested many codes but still not working on QlikView scripting, I have a data base with Country, Material , Qty&lt;/P&gt;
&lt;P&gt;I need to calculate the cumulative Qty for all the previous rows if the key(Country, Material) is equal to the previous one than i do the sum like the example marked in Yellow here bellow row by row.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaniaMH_0-1646300471197.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73489i15E7D709881CCA40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaniaMH_0-1646300471197.png" alt="RaniaMH_0-1646300471197.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;i used Peek but it doesn't work well for my case&lt;/P&gt;
&lt;P&gt;Is there any solution to apply this rules in the chart area?&lt;/P&gt;
&lt;P&gt;Thank you in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 09:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1900460#M1217705</guid>
      <dc:creator>RanOuerg</dc:creator>
      <dc:date>2022-03-03T09:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum on the previous commun Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1900510#M1217707</link>
      <description>&lt;P&gt;In the Load script you can do a&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(Country=Peek(Country) and Material=Peek(Material), RangeSum(Qty,Peek(CumulativeQty)), Qty) as CumulativeQty,&lt;/P&gt;&lt;P&gt;Just make sure that you have ordered the rows with an "Order By".&lt;/P&gt;&lt;P&gt;In a chart, you can do something similar using Above() instead of Peek().&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 10:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1900510#M1217707</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-03-03T10:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum on the previous commun Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1900620#M1217718</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes with the order by it work very well, Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 13:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1900620#M1217718</guid>
      <dc:creator>RanOuerg</dc:creator>
      <dc:date>2022-03-03T13:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum on the previous commun Columns</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1907605#M1217978</link>
      <description>&lt;P&gt;Hello Henric,&lt;/P&gt;
&lt;P&gt;I applied the formula but now while doing the test i have duplicated lines whenever i added the CumulativeQty&lt;/P&gt;
&lt;P&gt;and i can't use Distinct since i already search recurrences can you help with that ?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-on-the-previous-commun-Columns/m-p/1907605#M1217978</guid>
      <dc:creator>RanOuerg</dc:creator>
      <dc:date>2022-03-21T13:19:56Z</dc:date>
    </item>
  </channel>
</rss>

