<?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.4 Aggregate items per quarter (12-month period) with different rules for each item. in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-4-Aggregate-items-per-quarter-12-month-period-with/m-p/681763#M14172</link>
    <description>&lt;P&gt;Sorry, I made a mistake - my question is this: the sum of Item 2 I can do with the RelativePeriod or CumulativePeriod function, but the sum of item 1 I can't do.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Sep 2020 21:26:13 GMT</pubDate>
    <dc:creator>roberto_marques</dc:creator>
    <dc:date>2020-09-04T21:26:13Z</dc:date>
    <item>
      <title>SAS-VA 7.4 Aggregate items per quarter (12-month period) with different rules for each item.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-4-Aggregate-items-per-quarter-12-month-period-with/m-p/681762#M14171</link>
      <description>&lt;P&gt;In SAS-VA 7.4 I need to add values of 12 months and present them by four months, but with some conditions:&lt;BR /&gt;1. I cannot use parameters, as the results must be calculated and presented every four months on all records in the database;&lt;BR /&gt;2. In a universe of several items, I must separate 2 items and add them, but each item has a different sum shape. Each quarter corresponds to the sum of 12 months.&lt;BR /&gt;Item 1&lt;BR /&gt;- 1st Quarter of the year considered (e.g. from 5/1/2018 to 4/30/2019): I must add only the values corresponding to the months of 2019;&lt;BR /&gt;- 2nd Quarter of the year considered (e.g. 9/1/2018 to 8/31/2019): I must add only the values corresponding to the months of the year 2019 (same rule as the 1st Quarter).&lt;BR /&gt;- 3rd Quarter of the year considered (e.g. 1/1/2019 to 12/31/2019): I must consider the value of January of the following year. In the example above, the value for the 3rd quarter will be January 2020.&lt;BR /&gt;Item 2&lt;BR /&gt;- For calculation in any quarter, we consider the sum of the values of each month - e.g.: 2nd Quarter of 2019: I must add the values from September 2018 to August 2019.&lt;/P&gt;&lt;P&gt;The value to be displayed will be the sum of items 1 and 2.&lt;/P&gt;&lt;P&gt;The sum of Item 1 I can do with the RelativePeriod or CumulativePeriod function, but the sum of item 2 I can't do.&lt;/P&gt;&lt;P&gt;Please ask anyone who can help me.&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="roberto_marques_0-1599254158544.png" style="width: 1161px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49038i6FBE7C6F8BF37260/image-dimensions/1161x390?v=v2" width="1161" height="390" role="button" title="roberto_marques_0-1599254158544.png" alt="roberto_marques_0-1599254158544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 21:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-4-Aggregate-items-per-quarter-12-month-period-with/m-p/681762#M14171</guid>
      <dc:creator>roberto_marques</dc:creator>
      <dc:date>2020-09-04T21:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS-VA 7.4 Aggregate items per quarter (12-month period) with different rules for each item.</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-4-Aggregate-items-per-quarter-12-month-period-with/m-p/681763#M14172</link>
      <description>&lt;P&gt;Sorry, I made a mistake - my question is this: the sum of Item 2 I can do with the RelativePeriod or CumulativePeriod function, but the sum of item 1 I can't do.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 21:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-7-4-Aggregate-items-per-quarter-12-month-period-with/m-p/681763#M14172</guid>
      <dc:creator>roberto_marques</dc:creator>
      <dc:date>2020-09-04T21:26:13Z</dc:date>
    </item>
  </channel>
</rss>

