<?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 in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018973#M925736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share the sample data and explain your problem clearly ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 11:18:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-31T11:18:54Z</dc:date>
    <item>
      <title>Cumulative Sum in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018971#M925733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Line_ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Rec_ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Rec_Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Qty&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Pull_Date&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;SR_1212&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1610&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;30-Mar-2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;19-Mar-2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SR_1212&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1611&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31-Mar-2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3700&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;(1)???&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SR_1212&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1612&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;27-May-2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3800&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;(2)???&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help Community!&lt;/P&gt;&lt;P&gt;Assuming I have a record as listed in the table above and I will like to calculate the Pull_Date for the unique Line_ID taking into consideration the different Rec_&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Date for each Rec_ID. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;For Pull_Date (1), I want to be able to loop through the records, choose the Qty (3200) for the Rec_ID (1610) and use it to get my next Pull_Date (1) for Rec_ID (1611) and also do likewise for the second Pull_Date (2) of the Rec_ID (1612) using the Qty (3700) of the Rec_ID (1611) to get the Pull_Date (2).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is making me go crazy. I hope you guys understand what I'm trying to do. Please, ask me any question, I can definitely explain further. Thanks guys!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018971#M925733</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018972#M925735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't understand what you are doing with the Qty.&lt;/P&gt;&lt;P&gt;I understand you just want to fill in missing Pull_Dates, but how do you find Rec_ID 1611 based on Qty 3200 / Rec_ID 1610?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are just looking at the previous record, look into inter record functions like Peek() or Previous().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 22:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018972#M925735</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-30T22:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018973#M925736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share the sample data and explain your problem clearly ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 11:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018973#M925736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-31T11:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018974#M925738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry guys! I'm not sure if the topic of the questions seems right for what I am trying to achieve but I hope I get a solution somehow. Thanks for your help and concern. I am attaching this file in excel to explain what I am trying to achieve. The Pull_Date cells are the calculated fields and they are calculated based on the Qty for each previous Rec_ID. Please, check out the excel file, hopefully that will help to clarify things and what I'm trying to achieve. Thanks.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120031_sample.JPG" style="height: 103px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 13:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Sum-in-Expression/m-p/1018974#M925738</guid>
      <dc:creator />
      <dc:date>2016-03-31T13:56:54Z</dc:date>
    </item>
  </channel>
</rss>

