<?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 Calculate a cumulative sum over a period longer than 1 year? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205716#M1934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create variables that calculate a cumulative sum (running sum) over a period longer than 1 year. Perhaps I'm doing something wrong, but using CumulativePeriod or the other options the Cumulative sum begins again from 0 as the year changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="9626" alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9626_pastedImage_1.png" style="width: 398px; height: 312px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="9627" alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9627_pastedImage_2.png" style="width: 315px; height: 276px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Keen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 09:07:31 GMT</pubDate>
    <dc:creator>ChrisKeen</dc:creator>
    <dc:date>2015-03-19T09:07:31Z</dc:date>
    <item>
      <title>Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205716#M1934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create variables that calculate a cumulative sum (running sum) over a period longer than 1 year. Perhaps I'm doing something wrong, but using CumulativePeriod or the other options the Cumulative sum begins again from 0 as the year changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="9626" alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9626_pastedImage_1.png" style="width: 398px; height: 312px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="9627" alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9627_pastedImage_2.png" style="width: 315px; height: 276px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Keen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 09:07:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205716#M1934</guid>
      <dc:creator>ChrisKeen</dc:creator>
      <dc:date>2015-03-19T09:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205717#M1935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ChrisKeen,&lt;/P&gt;&lt;P&gt;My apologies--I accidentally marked your question "answered" by mistake. I'm currently having trouble undoing my mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it is possible for you to mark the question back to "unanswered."&amp;nbsp; My posting this message will bump your question back up in the activity stream - hopefully someone will see and get you some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry for the inconvenience. Thank you for being part of the community!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Communities Admin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 20:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205717#M1935</guid>
      <dc:creator>Community_Help</dc:creator>
      <dc:date>2015-03-20T20:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205718#M1936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are trying to calculate cumulative sum for financial year, if yes, it is not possible to calculate in this way, you can do this using custom category, cumulative period is only for calendar year&amp;nbsp; (i.e.., Jan - Dec).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets hope that this option (YTD) is available in VA 7.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to compare&amp;nbsp; MOM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Teja Surapaneni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 07:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205718#M1936</guid>
      <dc:creator>TejaSurapaneni</dc:creator>
      <dc:date>2015-03-25T07:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205719#M1937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Teja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I am trying to calculate for a periode, for example from 1-1-2014 to date (in february 2015&amp;nbsp; the periode to calculate is 1-1-2-14 to 1-2-2015, or in June 2015, the period should be&amp;nbsp; 1-1-2014 - 1-6-2015).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you an example that shows me how I can manually calculate this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;Chris keen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205719#M1937</guid>
      <dc:creator>ChrisKeen</dc:creator>
      <dc:date>2015-03-25T08:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205720#M1938</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;&lt;/P&gt;&lt;P&gt;You Want Cumulative Sum or Overall Sum ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Teja Surapaneni. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:09:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205720#M1938</guid>
      <dc:creator>TejaSurapaneni</dc:creator>
      <dc:date>2015-03-25T12:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205721#M1939</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 want a cumulative (running) sum - using my example in my the discussion meassge,&amp;nbsp; from march 2014 til march 2015 without breaking and starting again from jan. 2015 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thansk again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 13:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205721#M1939</guid>
      <dc:creator>ChrisKeen</dc:creator>
      <dc:date>2015-03-25T13:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205722#M1940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same problem. Stuff does accumulate from year to year sometimes, has anyone figured out how to convey this in VA?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 17:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205722#M1940</guid>
      <dc:creator>jaytothegf</dc:creator>
      <dc:date>2015-05-02T17:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205723#M1941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello jay and Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There have been a few threads on this topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I asked a developer who supports the periodic operators about this, and he doesn't know of a workaround in the current release. This feature is definitely on our radar, so hopefully it can be implemented in a future release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 17:28:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205723#M1941</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2015-05-04T17:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205724#M1942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sam for letting us know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 17:40:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205724#M1942</guid>
      <dc:creator>jaytothegf</dc:creator>
      <dc:date>2015-05-04T17:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205725#M1943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;IMG __jive_id="10718" alt="Sas2Year.jpg" class="jive-image-thumbnail jive-image" height="370" src="https://communities.sas.com/legacyfs/online/10718_Sas2Year.jpg" width="882" /&gt;&lt;/P&gt;&lt;P&gt;I have made a calculation for running sum over a period longer than 1 year like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Data Set:&lt;/STRONG&gt; DATE (in MM/YYYY format); Value&lt;/P&gt;&lt;P&gt;2. + &lt;STRONG&gt;Date2Year&lt;/STRONG&gt;=DateFromMDY(1, ( Month('DATE'n) + ( ( Year('DATE'n) - 2014 ) * 12 ) ), 2015)&lt;/P&gt;&lt;P&gt;3. + &lt;STRONG&gt;Value2Year=&lt;/STRONG&gt;CumulativePeriod(_Sum_, 'Value'n, 'Date2Year'n, _Inferred_, _Inferred_, 0, _Full_, {Date})&lt;/P&gt;&lt;P&gt;4. + &lt;STRONG&gt;No.=&lt;/STRONG&gt;'Date2Year'n. &lt;STRONG&gt;Format display as Day of Month&lt;/STRONG&gt;. "No." is needed to replace "Date2Year" in the Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Same technic I'm using for calculating: day to day difference, week to week difference, cumulative sum by days in week, etc.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it's clear and will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 17:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/205725#M1943</guid>
      <dc:creator>RR28</dc:creator>
      <dc:date>2015-06-03T17:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/227700#M2606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you are limited to 365 values with this solution.&lt;/P&gt;&lt;P&gt;I have to do a cumulative with data on more than 1 year and one data per day.&lt;/P&gt;&lt;P&gt;I created date2year in SAS Base like this :&amp;nbsp;date2year = '01jan2015:0:0:0'dt + datepart(date);&lt;/P&gt;&lt;P&gt;In Visual Analitics, i created value2year like :&amp;nbsp;CumulativePeriod(_Sum_, 'Value', 'Date', _Inferred_, _Inferred_, 0, _Full_, {Date})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But value2year stays empty, I think this is due to the fact that date2year is in datetime format...&lt;/P&gt;&lt;P&gt;Have you any solution ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 15:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/227700#M2606</guid>
      <dc:creator>DrBybySan</dc:creator>
      <dc:date>2015-09-29T15:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/227937#M2615</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;There is solution - but very, very slow for daily summing, better for month, good for quarter or year summing&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;For e.g. data for 2014, 2015 years&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;"Quantity" - aggregated measure&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;"Date" - calendar data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;1. YearNo = Year('Date'n)&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;measure&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;2. QtyYTD = CumulativePeriod(_Sum_, 'Qty'n, 'Date'n, _Inferred_, _ByYear_, 0, _Full_, {Date})&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;aggregated&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;3. QtyPrevYear = IF ( Avg [_ByGroup_] ('YearNo'n) = 2014 ) RETURN 0 ELSE ParallelPeriod(_Sum_, 'Qty'n, 'Date'n, _ByYear_, _ByYear_, -1, _Full_, {Date})&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;aggregated&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;4. Qty2YTD='QtyPrevYear'n + 'QtyYTD'n&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;aggregated - &lt;U&gt;gives sum we are looking for&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/353iE028FBB4D81D80BF/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2YearSum_1.jpg" title="2YearSum_1.jpg" border="0" /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/354iDE2DB1719FF0038F/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2YearSum_2.jpg" title="2YearSum_2.jpg" border="0" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/355i4C3611CAF7888188/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2YearSum_2.jpg" title="2YearSum_2.jpg" border="0" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Best Regards&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Robert R.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 20:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/227937#M2615</guid>
      <dc:creator>RR2809</dc:creator>
      <dc:date>2015-09-30T20:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/516616#M11533</link>
      <description>&lt;P&gt;This cumulative variables are showing missing when plotting on bar chat or line chart or even cross tab&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 11:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/516616#M11533</guid>
      <dc:creator>arpitagarwal512</dc:creator>
      <dc:date>2018-11-28T11:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/543728#M12090</link>
      <description>&lt;P&gt;Can you please say in which version it is Possible?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Mar 2019 13:11:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/543728#M12090</guid>
      <dc:creator>PavanKumar2</dc:creator>
      <dc:date>2019-03-16T13:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/659029#M13883</link>
      <description>&lt;P&gt;I'm sorry how to obtain rolling sum on 4 week?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/46905"&gt;@RR28&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;IMG src="https://communities.sas.com/legacyfs/online/10718_Sas2Year.jpg" border="0" alt="Sas2Year.jpg" width="882" height="370" /&gt;&lt;/P&gt;&lt;P&gt;I have made a calculation for running sum over a period longer than 1 year like this:&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" alt="" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Data Set:&lt;/STRONG&gt; DATE (in MM/YYYY format); Value&lt;/P&gt;&lt;P&gt;2. + &lt;STRONG&gt;Date2Year&lt;/STRONG&gt;=DateFromMDY(1, ( Month('DATE'n) + ( ( Year('DATE'n) - 2014 ) * 12 ) ), 2015)&lt;/P&gt;&lt;P&gt;3. + &lt;STRONG&gt;Value2Year=&lt;/STRONG&gt;CumulativePeriod(_Sum_, 'Value'n, 'Date2Year'n, _Inferred_, _Inferred_, 0, _Full_, {Date})&lt;/P&gt;&lt;P&gt;4. + &lt;STRONG&gt;No.=&lt;/STRONG&gt;'Date2Year'n. &lt;STRONG&gt;Format display as Day of Month&lt;/STRONG&gt;. "No." is needed to replace "Date2Year" in the Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Same technic I'm using for calculating: day to day difference, week to week difference, cumulative sum by days in week, etc.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it's clear and will help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Robert R.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Jun 2020 16:05:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/659029#M13883</guid>
      <dc:creator>fciciarelli</dc:creator>
      <dc:date>2020-06-15T16:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate a cumulative sum over a period longer than 1 year?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/709457#M14551</link>
      <description>&lt;P&gt;With SAS Visual Analytics 8.5, you can use the &lt;STRONG&gt;_Full_ &lt;/STRONG&gt;parameter interval to calculate over multiple years rather than year over year.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaseit_0-1609864213624.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53222i39CC6FB4F822B2C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaseit_0-1609864213624.png" alt="jaseit_0-1609864213624.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jaime&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 16:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Calculate-a-cumulative-sum-over-a-period-longer-than-1-year/m-p/709457#M14551</guid>
      <dc:creator>jaseit</dc:creator>
      <dc:date>2021-01-05T16:30:26Z</dc:date>
    </item>
  </channel>
</rss>

