<?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: SAS VA 7.1 - decreasing sum in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-1-decreasing-sum/m-p/415680#M8747</link>
    <description>&lt;P&gt;Thanks Shmuel, I know that will work in SAS EG, but unfortunately it won't work in VA.&amp;nbsp; Appreciate your assistance.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2017 21:50:50 GMT</pubDate>
    <dc:creator>critters187</dc:creator>
    <dc:date>2017-11-22T21:50:50Z</dc:date>
    <item>
      <title>SAS VA 7.1 - decreasing sum</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-1-decreasing-sum/m-p/415383#M8722</link>
      <description>&lt;P&gt;Hi everyone.&amp;nbsp; Is there any way I can get a dataset with a column that has a number that varies row by row (which is a series of dates in the year), to display a total number today, and for each date (let's say there is a date for each week) the 'total' number decreases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot get the SUM to mathematically work out at all and this is driving me nuts.&amp;nbsp; So in the spreadsheet I have used as an example, I have column A &amp;amp; B in the dataset already loaded in VA.&amp;nbsp; How inside VA do I create column C?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to do it in VA to keep the data 'dynamic'.&amp;nbsp; If I 'hard code it' in a spreadsheet and load it to VA, that will defeat the purpose of the report I am trying to create.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 05:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-1-decreasing-sum/m-p/415383#M8722</guid>
      <dc:creator>critters187</dc:creator>
      <dc:date>2017-11-22T05:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA 7.1 - decreasing sum</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-1-decreasing-sum/m-p/415389#M8724</link>
      <description>&lt;P&gt;I have never worked with SAS VA, but if you can run basic sas then:&lt;/P&gt;
&lt;P&gt;1) sort your data by descending date.&lt;/P&gt;
&lt;P&gt;2) run a step like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data temp;
  set have;
        retain total 0;
        total + var_to_sum;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;3) sort your data by date (ascending is the default).&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 06:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-1-decreasing-sum/m-p/415389#M8724</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-11-22T06:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA 7.1 - decreasing sum</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-1-decreasing-sum/m-p/415680#M8747</link>
      <description>&lt;P&gt;Thanks Shmuel, I know that will work in SAS EG, but unfortunately it won't work in VA.&amp;nbsp; Appreciate your assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 21:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-1-decreasing-sum/m-p/415680#M8747</guid>
      <dc:creator>critters187</dc:creator>
      <dc:date>2017-11-22T21:50:50Z</dc:date>
    </item>
  </channel>
</rss>

