<?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 - All Solutions Not Working in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942503#M20993</link>
    <description>&lt;P&gt;It is not needed, but if you have a year AND date variable it ensures that the data is sorted correctly within the year to get the correct running sum. Otherwise, there could be a sum that's reset by year, but out of order by day. &lt;BR /&gt;&lt;BR /&gt;This isn't stated in the question but best practice based on experience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437457"&gt;@Season&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Your code is generally correct except for an issue that could be improved: the variable date is not needed in the BY statement.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 16:13:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2024-09-04T16:13:04Z</dc:date>
    <item>
      <title>Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942485#M20982</link>
      <description>&lt;DIV&gt;I have a dataset.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It has 3 variables:&lt;/DIV&gt;&lt;DIV&gt;-year&lt;/DIV&gt;&lt;DIV&gt;-date&lt;/DIV&gt;&lt;DIV&gt;-number&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I want the cumulative value of number resetting every year.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The typical sas advice does not work for me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For example, according to &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Cumulative-sum-by-three-groups/td-p/373864" target="_self"&gt;this&lt;/A&gt; answer my code should be:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;data want;&lt;/DIV&gt;&lt;DIV&gt;set have;&lt;/DIV&gt;&lt;DIV&gt;by year;&lt;/DIV&gt;&lt;DIV&gt;if first.date then runsum=number;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;else runsum+number;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But this code gives me all null values for runsum. Why? That makes no sense. There's nothing I'm doing that the other answers aren't doing, this just isn't working.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've tried many other things, including adding a retain, and doing by year and date. Retain does nothing, all my values are just null. Doing by year and date just sets runsum to the value of number, it never cumulates. I've tried turning my date variable into datetime, into character, nothing works. Why?&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:23:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942485#M20982</guid>
      <dc:creator>toomanystepsint</dc:creator>
      <dc:date>2024-09-04T15:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942487#M20983</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
by year;
if first.year then runsum=number;
else runsum+number;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The FIRST. reference is incorrect, you need to use variable listed in the By statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/438688"&gt;@toomanystepsint&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV&gt;I have a dataset.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;It has 3 variables:&lt;/DIV&gt;
&lt;DIV&gt;-year&lt;/DIV&gt;
&lt;DIV&gt;-date&lt;/DIV&gt;
&lt;DIV&gt;-number&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I want the cumulative value of number resetting every year.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The typical sas advice does not work for me.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For example, according to &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Cumulative-sum-by-three-groups/td-p/373864" target="_self"&gt;this&lt;/A&gt; answer my code should be:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;data want;&lt;/DIV&gt;
&lt;DIV&gt;set have;&lt;/DIV&gt;
&lt;DIV&gt;by year;&lt;/DIV&gt;
&lt;DIV&gt;if first.date then runsum=number;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;else runsum+number;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;But this code gives me all null values for runsum. Why? That makes no sense. There's nothing I'm doing that the other answers aren't doing, this just isn't working.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I've tried many other things, including adding a retain, and doing by year and date. Retain does nothing, all my values are just null. Doing by year and date just sets runsum to the value of number, it never cumulates. I've tried turning my date variable into datetime, into character, nothing works. Why?&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:32:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942487#M20983</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-09-04T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942488#M20984</link>
      <description>I AM using a variable listed in the by statement. You can see I'm saying "by year" and if first.year.&lt;BR /&gt;&lt;BR /&gt;Unbelievable.</description>
      <pubDate>Wed, 04 Sep 2024 15:34:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942488#M20984</guid>
      <dc:creator>toomanystepsint</dc:creator>
      <dc:date>2024-09-04T15:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942491#M20985</link>
      <description>&lt;P&gt;Try out this code (modified according to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;'s reply):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
by year;
if first.year then cumsum=0;
cumsum+number;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;As a SAS user, I think computing cumulative sums in SAS is far less intuitive than doing so in Microsoft Excel. You will hardly be able to know what the line "cumsum+number;" means if nobody tells you that it is for computing cumulative sums.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 16:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942491#M20985</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-04T16:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942492#M20986</link>
      <description>&lt;P&gt;If you read the LOG the reason is there. (Highlight added). An Uninitialized variable is always missing and so will never be "true". Which may well lead to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;'s correction to use the proper FIRST.&amp;lt;variablename&amp;gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;284  data want;
285  set have;
286  by year;
287  if first.date then runsum=number;
288  else runsum+number;
289  run;

&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;NOTE: Variable 'first.date'n is uninitialized.&lt;/STRONG&gt;&lt;/FONT&gt;
NOTE: There were 2 observations read from the data set USER.HAVE.
NOTE: The data set USER.WANT has 2 observations and 4 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942492#M20986</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-09-04T15:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942494#M20988</link>
      <description>&lt;P&gt;I'm having a difficult time reconciling your response to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/438688"&gt;@toomanystepsint&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I AM using a variable listed in the by statement. You can see I'm saying "by year" and if first.year.&lt;BR /&gt;&lt;BR /&gt;Unbelievable.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;with your original post:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV&gt;data want;&lt;/DIV&gt;
&lt;DIV&gt;set have;&lt;/DIV&gt;
&lt;DIV&gt;by year;&lt;/DIV&gt;
&lt;DIV&gt;if first.date then runsum=number;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;else runsum+number;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;which has a "first." test referring to DATE, which is a variable NOT in the BY statement.&amp;nbsp; SAS would only know to check for first.date if DATE were a variable in the BY statement.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:43:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942494#M20988</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2024-09-04T15:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942497#M20989</link>
      <description>&lt;P&gt;Re-read your code it says first.date, not first.year as posted.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I posted the corrected code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/438688"&gt;@toomanystepsint&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I AM using a variable listed in the by statement. You can see I'm saying "by year" and if first.year.&lt;BR /&gt;&lt;BR /&gt;Unbelievable.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:45:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942497#M20989</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-09-04T15:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942500#M20990</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/438688"&gt;@toomanystepsint&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You asked for advice to (emphasis mine)&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I want the cumulative value of number &lt;EM&gt;&lt;STRONG&gt;resetting every year&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Yet you accepted a response (reproduced below) from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437457"&gt;@Season&lt;/a&gt;&amp;nbsp;that does not do a yearly reset:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
by year;
cumsum+number;
output;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Please clarify.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Otherwise, naive users may believe the accepted solution correctly addresses the problem as originally stated.&amp;nbsp; Help us make sas communities a reliable source of advice.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:51:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942500#M20990</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2024-09-04T15:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942501#M20991</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/438688"&gt;@toomanystepsint&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I AM using a variable listed in the by statement. You can see I'm saying "by year" and if first.year.&lt;BR /&gt;&lt;BR /&gt;Unbelievable.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please share the lines from the SAS log for your data step.&lt;/P&gt;
&lt;P&gt;The code you posted in your question was using FIRST.DATE, but only listed YEAR in the BY statement.&amp;nbsp; That will cause SAS to invent a first.date variable, which will never be true.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the goal is to re-start the accumulator when starting a new year then use FIRST.YEAR in the IF statement.&amp;nbsp; You can keep DATE in the BY statement if you want have the data step make sure the observations are actually sorted by DATE within YEAR and stop if it is not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's make some sample data:&lt;/P&gt;
&lt;PRE&gt;data have;
  input year date :date. count;
  format date date9. ;
cards;
1 01JAN2000 10
1 02JAN2000 20
1 03JAN2000 30
2 01JAN2001 10
2 01FEB2001 15
;
&lt;/PRE&gt;
&lt;P&gt;And try making a running sum of the COUNT variable.&lt;/P&gt;
&lt;P&gt;Remember to use a NEW variable for the running sum.&amp;nbsp; If you use a variable that already exists on the input dataset then the value read by the SET statement will replace the value calculated on the previous observation.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have ;
  by year date;
  if first.year then running_sum=0;
  running_sum + count;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result&lt;/P&gt;
&lt;PRE&gt;                                     running_
Obs    year         date    count       sum

 1       1     01JAN2000      10        10
 2       1     02JAN2000      20        30
 3       1     03JAN2000      30        60
 4       2     01JAN2001      10        10
 5       2     01FEB2001      15        25&lt;/PRE&gt;
&lt;P&gt;If the goal is something else then you need to explain it more clearly.&amp;nbsp; Sharing example input data and the desired result from that input will help clarify what you want.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:54:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942501#M20991</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-09-04T15:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942502#M20992</link>
      <description>Your code is correct. But I have a question: why is the variable date in the BY statement?</description>
      <pubDate>Wed, 04 Sep 2024 16:15:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942502#M20992</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-04T16:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942503#M20993</link>
      <description>&lt;P&gt;It is not needed, but if you have a year AND date variable it ensures that the data is sorted correctly within the year to get the correct running sum. Otherwise, there could be a sum that's reset by year, but out of order by day. &lt;BR /&gt;&lt;BR /&gt;This isn't stated in the question but best practice based on experience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437457"&gt;@Season&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Your code is generally correct except for an issue that could be improved: the variable date is not needed in the BY statement.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 16:13:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942503#M20993</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-09-04T16:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942507#M20994</link>
      <description>&lt;P&gt;Thank you for following my reply. Referencing &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;'s code, I have modified mine. It is at &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/438688"&gt;@toomanystepsint&lt;/a&gt;'s discretion to choose the reply of whom as the solution.&lt;/P&gt;
&lt;P&gt;A reminder for &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/438688"&gt;@toomanystepsint&lt;/a&gt;&amp;nbsp;is that you can retract the acceptance of one's reply as the solution and accepting another reply as solution afterwards, regardless of whether the second reply is posted by the original solution provider.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 16:22:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942507#M20994</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-04T16:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942508#M20995</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437457"&gt;@Season&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Your code is generally correct except for an issue that could be improved: the variable date is not needed in the BY statement.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please re-read my full response and you will see why it is there.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 16:13:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942508#M20995</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-09-04T16:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942511#M20996</link>
      <description>Thank you! I took a second look at your reply and have now understood why it was there.</description>
      <pubDate>Wed, 04 Sep 2024 16:16:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942511#M20996</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-04T16:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sum - All Solutions Not Working</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942512#M20997</link>
      <description>&lt;P&gt;All right. I have got it. Thank you for your patient reply!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 16:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Cumulative-Sum-All-Solutions-Not-Working/m-p/942512#M20997</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-04T16:18:42Z</dc:date>
    </item>
  </channel>
</rss>

