<?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: Year to year rollover calculation in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/437182#M9475</link>
    <description>&lt;P&gt;Thanks Mike,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue with that approach is it lets me go back a calendar year but not a programme&amp;nbsp;year at the same time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example population in year 1 2016 becomes year 2 2017&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This images show how the populations progress:&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="Capture.GIF" style="width: 347px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18547i78DF360567D15296/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.GIF" alt="Capture.GIF" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 16:12:59 GMT</pubDate>
    <dc:creator>itchyeyeballs</dc:creator>
    <dc:date>2018-02-14T16:12:59Z</dc:date>
    <item>
      <title>Year to year rollover calculation</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/436631#M9461</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if this is possible, have had a look around but not found anything so thought I would ask.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to calculate population rollover year on year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Year 1 population for 2016 = 100&lt;/P&gt;&lt;P&gt;Year 2 population for 2017 = 95&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rollover = 95/100 ( 5 dropped out)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have set up an index column which is combination of calendar year and program year, this looks like 1701, 1702, 1703, 1801, 1802, 1803.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data table looks like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Index - Population&lt;/P&gt;&lt;P&gt;1601 - 100&lt;/P&gt;&lt;P&gt;1602 - 95&lt;/P&gt;&lt;P&gt;1603 - 92&lt;/P&gt;&lt;P&gt;1604 - 80&lt;/P&gt;&lt;P&gt;1701 - 110&lt;/P&gt;&lt;P&gt;1702 - 108&lt;/P&gt;&lt;P&gt;1703 - 101&lt;/P&gt;&lt;P&gt;1704 - 99&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our other BI tool I can just create a formula that uses the index column - 101 to reference the previous year then dynamically calculate the ratio. The only approach I can work out in VA is to pre-calculate before import which limits flexibility. Is there a way I could attack this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 10:47:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/436631#M9461</guid>
      <dc:creator>itchyeyeballs</dc:creator>
      <dc:date>2018-02-13T10:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Year to year rollover calculation</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/437104#M9471</link>
      <description>&lt;P&gt;If you are in Designer, you can right-click on the population variable and select 'create'; one of the options should be new difference from previous period, percent difference from previous period, etc. &amp;nbsp;I believe these are dependent on having date items in the data to make the aggregation well-defined, so you might need to import the year as its own column or created a calculated date column from your Year/Program Year column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A similar calculation is available in Explorer.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 14:47:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/437104#M9471</guid>
      <dc:creator>MikeJenista</dc:creator>
      <dc:date>2018-02-14T14:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Year to year rollover calculation</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/437182#M9475</link>
      <description>&lt;P&gt;Thanks Mike,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue with that approach is it lets me go back a calendar year but not a programme&amp;nbsp;year at the same time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example population in year 1 2016 becomes year 2 2017&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This images show how the populations progress:&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="Capture.GIF" style="width: 347px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18547i78DF360567D15296/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.GIF" alt="Capture.GIF" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 16:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/437182#M9475</guid>
      <dc:creator>itchyeyeballs</dc:creator>
      <dc:date>2018-02-14T16:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Year to year rollover calculation</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/437189#M9476</link>
      <description>&lt;P&gt;I see; I think to achieve what you want in VA you might have to separate each program population into its own column. &amp;nbsp;If you don't want to do that on the raw data, you could try making a calculated item for each cohort that checks your combination year item for the program year. &amp;nbsp;If it matches, copy the population value to the calculated item. &amp;nbsp;If it doesn't match, set to 0 or missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, you can aggregate these calculated items by year, and use the period calculations I mentioned earlier.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 16:19:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-to-year-rollover-calculation/m-p/437189#M9476</guid>
      <dc:creator>MikeJenista</dc:creator>
      <dc:date>2018-02-14T16:19:25Z</dc:date>
    </item>
  </channel>
</rss>

