<?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 Average past to date in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651291#M13788</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327172"&gt;@jrippberger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this look something you are after? (Done in VA 8.5)&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="Comm_CumulativeSum.PNG" style="width: 750px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40065i5940B09E2F88B131/image-size/large?v=v2&amp;amp;px=999" role="button" title="Comm_CumulativeSum.PNG" alt="Comm_CumulativeSum.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My source data had two columns: &lt;FONT face="courier new,courier"&gt;Date, Measure&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I created a new measure &lt;FONT face="courier new,courier"&gt;Cumulative Sum&lt;/FONT&gt; by creating a&amp;nbsp;&lt;STRONG&gt;Derived Item&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL class="xisDoc-listSteps"&gt;
&lt;LI id="n0bef9dpisjbq8n157drcw6ezdih" class="xisDoc-step"&gt;In the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Data&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pane, right-click the &lt;FONT face="courier new,courier"&gt;Measure&lt;/FONT&gt; data item and selected&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;New calculation&lt;/SPAN&gt;&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI id="n0601vkz02wpzfn15kqy99q78jo1" class="xisDoc-step"&gt;Give a sensible &lt;STRONG&gt;Name&lt;/STRONG&gt; and specify the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Type: Cumulative Total&lt;/SPAN&gt;&lt;/STRONG&gt;.&amp;nbsp;&lt;/LI&gt;
&lt;LI id="p0x540kbaj34vjn1knnfovxfaa22" class="xisDoc-step"&gt;Click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;OK&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xisDoc-windowItem"&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Petri&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 05:54:49 GMT</pubDate>
    <dc:creator>PetriRoine</dc:creator>
    <dc:date>2020-05-28T05:54:49Z</dc:date>
    <item>
      <title>Cumulative Average past to date</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651110#M13785</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;is it possible to create a cumulative average for &lt;STRONG&gt;all&lt;/STRONG&gt; past times?&lt;/P&gt;&lt;P&gt;I have only found the option to do this with relative dates. But if I have a dataset of multiple years I cannot put all the months in manually.&lt;/P&gt;&lt;P&gt;At each step it must include all previous values but not future ones. I can't aggregate on cell level because I cannot name a unique identifier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data set might look like this:&lt;/P&gt;&lt;P&gt;Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Measure&amp;nbsp; Wanted&lt;BR /&gt;01/01/2016&amp;nbsp; 0.15&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.15&lt;/P&gt;&lt;P&gt;01/02/2016&amp;nbsp; 0.20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.175 ((0.15+0.20)/2)&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;01/03/2017&amp;nbsp; 0.05&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sum(Measure(where date is before current date))/n&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 15:09:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651110#M13785</guid>
      <dc:creator>jrippberger</dc:creator>
      <dc:date>2020-05-27T15:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average past to date</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651291#M13788</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327172"&gt;@jrippberger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this look something you are after? (Done in VA 8.5)&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="Comm_CumulativeSum.PNG" style="width: 750px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/40065i5940B09E2F88B131/image-size/large?v=v2&amp;amp;px=999" role="button" title="Comm_CumulativeSum.PNG" alt="Comm_CumulativeSum.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My source data had two columns: &lt;FONT face="courier new,courier"&gt;Date, Measure&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I created a new measure &lt;FONT face="courier new,courier"&gt;Cumulative Sum&lt;/FONT&gt; by creating a&amp;nbsp;&lt;STRONG&gt;Derived Item&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL class="xisDoc-listSteps"&gt;
&lt;LI id="n0bef9dpisjbq8n157drcw6ezdih" class="xisDoc-step"&gt;In the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Data&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pane, right-click the &lt;FONT face="courier new,courier"&gt;Measure&lt;/FONT&gt; data item and selected&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;New calculation&lt;/SPAN&gt;&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI id="n0601vkz02wpzfn15kqy99q78jo1" class="xisDoc-step"&gt;Give a sensible &lt;STRONG&gt;Name&lt;/STRONG&gt; and specify the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Type: Cumulative Total&lt;/SPAN&gt;&lt;/STRONG&gt;.&amp;nbsp;&lt;/LI&gt;
&lt;LI id="p0x540kbaj34vjn1knnfovxfaa22" class="xisDoc-step"&gt;Click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;OK&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="xisDoc-windowItem"&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xisDoc-windowItem"&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Petri&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 05:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651291#M13788</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2020-05-28T05:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average past to date</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651406#M13792</link>
      <description>Hi Petri,&lt;BR /&gt;&lt;BR /&gt;thanks for your answer. That would indeed help very much since I would only have to divide this by the cumulative total of the count of events.&lt;BR /&gt;But I don't seem to have that option:&lt;BR /&gt;My VA does only display the following options for type (i translated them from german to english):&lt;BR /&gt;Difference to the same interval in the past&lt;BR /&gt;Difference to a interval in the past&lt;BR /&gt;Difference to the same interval in the past - percent&lt;BR /&gt;Difference to a interval in the past - percent&lt;BR /&gt;Percent of Sum - Counts&lt;BR /&gt;cumulative periodic value&lt;BR /&gt;growth comparison&lt;BR /&gt;cumulative year value&lt;BR /&gt;cumulative year growth.&lt;BR /&gt;&lt;BR /&gt;So somehow VA will only let me cumulate my values by specific time intervals not "total".&lt;BR /&gt;Although it seems I only have access to the SAS release 7.5 which is unfortunate.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;jripp</description>
      <pubDate>Thu, 28 May 2020 15:03:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651406#M13792</guid>
      <dc:creator>jrippberger</dc:creator>
      <dc:date>2020-05-28T15:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Average past to date</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651690#M13794</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Visual Analytics 8.2 introduced new one-click calculations including (the one I used)&amp;nbsp;&lt;STRONG&gt;cumulative total&lt;/STRONG&gt; (which can work &lt;U&gt;across any dimension&lt;/U&gt;), &lt;STRONG&gt;moving average&lt;/STRONG&gt;, and &lt;STRONG&gt;data suppression&lt;/STRONG&gt; (which obscures an aggregated measure value if detail measure values could be easily inferred when too few rows contribute to the aggregated measure value). Although version VA 7.5 inherited great things from VA on Viya, apparently these one-click calculations were not on the list.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Petri&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 11:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Cumulative-Average-past-to-date/m-p/651690#M13794</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2020-05-29T11:15:27Z</dc:date>
    </item>
  </channel>
</rss>

