<?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 Sums in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147009#M388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, this is exactly addressed in the new Visual Analytics 6.3 scheduled to come out later in December (date can always shift - I don't want to commit a date as only SAS Product Management can).&amp;nbsp; I have been working on an early release for testing purposes, and one of the major new functionality is the ability to have YTD (or any period-to-date) calculations automatically performed based on a date field.&amp;nbsp; It will certainly makes those types of calculations very easy.&amp;nbsp;&amp;nbsp; It also allows the user to define a relative period (eg. sales compared to "same-month-last-year") in your calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As usual, when the release is production and official, a formal announcement will be made and you will be able to see that new feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand this does not address how to do it in current release (6.2)... The best approach on 6.2 is along the lines of what SASBIROX proposes.&amp;nbsp; I also have seen some people do pre-calculations on the data before it is loaded in memory.&amp;nbsp; Once again, all this will be made *much* easier on 6.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 13:44:29 GMT</pubDate>
    <dc:creator>Bernard_SAS</dc:creator>
    <dc:date>2013-11-21T13:44:29Z</dc:date>
    <item>
      <title>Cumulative Sums</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147003#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to show Year to Date cumulative sums for various time hierarchies (week, month, quarter, year). How would I do this using VA6.2 - eg. for showing YtD values per month and company?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 05:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147003#M382</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-11-18T05:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sums</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147004#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand this feature to be available within the next release VA 6.3 (due mid December 2013). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 09:44:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147004#M383</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2013-11-18T09:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sums</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147005#M384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might work .... you can create a computed column with a formula something like this formula.&lt;/P&gt;&lt;P&gt;I'm assuming the values Transaction Date and Product Sale Price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;$YTD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IF (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year (&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;TransactionDate&lt;/STRONG&gt;&lt;/SPAN&gt;) = Year(DatePart( NOW())&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; AND (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DayOfYear(&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;TransactionDate&lt;/STRONG&gt;&lt;/SPAN&gt;) &amp;lt;= DayofYear(Datepart(NOW()) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETURN &lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;Product Sale Price&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Patricia Aanderud&#xD;
&#xD;
Then you could Sum the $YTD value or create an aggregated calculation from it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 10:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147005#M384</guid>
      <dc:creator>SASBIROX</dc:creator>
      <dc:date>2013-11-20T10:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sums</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147006#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tricia&lt;/P&gt;&lt;P&gt;Question: If I'm having something like "quarter" in the hierarchy then wouldn't any formula only pick up the data in this quarter? Or do I get something wrong here and even with having quarter it still would be possible to "look back" and - let's say in the second quarter - also include the data from the first quarter for summing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 22:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147006#M385</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-11-20T22:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sums</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147007#M386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was thinking since it was a calculated measure that the hierarchy would understand based on the date value.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm guessing that is not what is working from your answer.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 00:03:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147007#M386</guid>
      <dc:creator>SASBIROX</dc:creator>
      <dc:date>2013-11-21T00:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sums</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147008#M387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope it isn't.&lt;/P&gt;&lt;P&gt;Let's hope that the next VA version has some magic built for such a requirement as Michel announced &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for now the approach I will be taking is to pre-calculate the cumulative sums for one aggregation level (YtD for months) as part of the ETL and this is then the only level where it can be used within VA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 05:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147008#M387</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-11-21T05:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sums</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147009#M388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, this is exactly addressed in the new Visual Analytics 6.3 scheduled to come out later in December (date can always shift - I don't want to commit a date as only SAS Product Management can).&amp;nbsp; I have been working on an early release for testing purposes, and one of the major new functionality is the ability to have YTD (or any period-to-date) calculations automatically performed based on a date field.&amp;nbsp; It will certainly makes those types of calculations very easy.&amp;nbsp;&amp;nbsp; It also allows the user to define a relative period (eg. sales compared to "same-month-last-year") in your calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As usual, when the release is production and official, a formal announcement will be made and you will be able to see that new feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand this does not address how to do it in current release (6.2)... The best approach on 6.2 is along the lines of what SASBIROX proposes.&amp;nbsp; I also have seen some people do pre-calculations on the data before it is loaded in memory.&amp;nbsp; Once again, all this will be made *much* easier on 6.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 13:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147009#M388</guid>
      <dc:creator>Bernard_SAS</dc:creator>
      <dc:date>2013-11-21T13:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Sums</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147010#M389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. Good to get your confirmation for this new functionality. I'm fine as long as I can say that it's something which can be delivered within a reasonable timeframe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The best approach on 6.2 is along the lines of what SASBIROX proposes.."&lt;/P&gt;&lt;P&gt;I'm kind of astonished that you believe this can work at all. I'll give it another go then as what I've tried so far didn't allow me to include data for a calculation over the boundaries of a category. I might have something misunderstood/done wrong here then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 22:59:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Sums/m-p/147010#M389</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-11-21T22:59:57Z</dc:date>
    </item>
  </channel>
</rss>

