<?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 YOY missing values in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373239#M7532</link>
    <description>Hi Nicky,&lt;BR /&gt;&lt;BR /&gt;Can you post the expression for your YOY aggregated measure?&lt;BR /&gt;&lt;BR /&gt;Right-click the item in the Data pane and select Edit. Then, in the expression editor, select the Text tab.&lt;BR /&gt;&lt;BR /&gt;You will see an expression like this:&lt;BR /&gt;&lt;BR /&gt;( ParallelPeriod(_Sum_, 'Facility Employees'n, 'Transaction Year'n, _Inferred_, _ByYear_, 0, _ToToday_, {Date}) - ParallelPeriod(_Sum_, 'Facility Employees'n, 'Transaction Year'n, _Inferred_, _ByYear_, -1, _ToToday_, {Date}) ) / Abs(ParallelPeriod(_Sum_, 'Facility Employees'n, 'Transaction Year'n, _Inferred_, _ByYear_, -1, _ToToday_, {Date}))&lt;BR /&gt;&lt;BR /&gt;That will help me to troubleshoot.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sam</description>
    <pubDate>Wed, 05 Jul 2017 12:40:43 GMT</pubDate>
    <dc:creator>Sam_SAS</dc:creator>
    <dc:date>2017-07-05T12:40:43Z</dc:date>
    <item>
      <title>SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/370527#M7478</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do a 'Year over Year Growth' calculation in SAS Visual Analytics, using a date variable called 'peildatum' and a measure called 'Aantal spelers'. It keeps returning missing values and I have no Idea why. (see screenshot)&lt;/P&gt;&lt;P&gt;Could anyone tell me what could be&amp;nbsp;a reason for this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nicky&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:10:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/370527#M7478</guid>
      <dc:creator>NickyM</dc:creator>
      <dc:date>2017-06-26T13:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/372720#M7514</link>
      <description>&lt;P&gt;Hi Nicky,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see your screenshot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Period calculations like YOY will return missing if your report object uses a different date variable than the one that the calculation is based on. Could that be the issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you create Year over Year Growth automatically from the Data panel, or did you build the expression manually? That would help rule out some other possibilities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2017 12:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/372720#M7514</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2017-07-03T12:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/372926#M7517</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I created YOY automatically. I tried to do it manually but I didn't really know the right way to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you can see my screenshot now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG width="399" height="200" title="YOY.PNG" alt="YOY.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/10109i74CCF1FE97F9BC53/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 06:28:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/372926#M7517</guid>
      <dc:creator>NickyM</dc:creator>
      <dc:date>2017-07-04T06:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373037#M7526</link>
      <description>&lt;P&gt;I can see the screenshot now, thanks. Today is a holiday in the US but I will look into it tomorrow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 15:39:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373037#M7526</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2017-07-04T15:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373239#M7532</link>
      <description>Hi Nicky,&lt;BR /&gt;&lt;BR /&gt;Can you post the expression for your YOY aggregated measure?&lt;BR /&gt;&lt;BR /&gt;Right-click the item in the Data pane and select Edit. Then, in the expression editor, select the Text tab.&lt;BR /&gt;&lt;BR /&gt;You will see an expression like this:&lt;BR /&gt;&lt;BR /&gt;( ParallelPeriod(_Sum_, 'Facility Employees'n, 'Transaction Year'n, _Inferred_, _ByYear_, 0, _ToToday_, {Date}) - ParallelPeriod(_Sum_, 'Facility Employees'n, 'Transaction Year'n, _Inferred_, _ByYear_, -1, _ToToday_, {Date}) ) / Abs(ParallelPeriod(_Sum_, 'Facility Employees'n, 'Transaction Year'n, _Inferred_, _ByYear_, -1, _ToToday_, {Date}))&lt;BR /&gt;&lt;BR /&gt;That will help me to troubleshoot.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sam</description>
      <pubDate>Wed, 05 Jul 2017 12:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373239#M7532</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2017-07-05T12:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373255#M7533</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for looking into it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;( ParallelPeriod(_Sum_, 'Aantal spelers'n, 'Peildatum'n, _Inferred_, _ByYear_, 0, _ToToday_, {Date}) - ParallelPeriod(_Sum_, 'Aantal spelers'n, 'Peildatum'n, _Inferred_, _ByYear_, -1, _ToToday_, {Date}) ) / Abs(ParallelPeriod(_Sum_, 'Aantal spelers'n, 'Peildatum'n, _Inferred_, _ByYear_, -1, _ToToday_, {Date}))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you can find out what's wrong. I tried using YOY in several reports but it never works. Neither do other 'Create and add' calculations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nicky&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:13:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373255#M7533</guid>
      <dc:creator>NickyM</dc:creator>
      <dc:date>2017-07-05T13:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373276#M7534</link>
      <description>&lt;P&gt;Hi Nicky,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe the problem is that your date data item has the DDMMYYYY (or MMDDYYYY) format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Details:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is causing the aggregation to infer a daily time interval for periodic calculations, which returns missing for the ParallelPeriod operator (used by YOY Growth.) A daily interval is OK sometimes, however.&amp;nbsp;&lt;BR /&gt;See the bulleted list here: &lt;A href="https://support.sas.com/documentation/cdl/en/vaug/69957/HTML/default/viewer.htm#n1lxnqfip132can1hdzuerib7i76.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/vaug/69957/HTML/default/viewer.htm#n1lxnqfip132can1hdzuerib7i76.htm&lt;/A&gt;&lt;/P&gt;
&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two ways to address the issue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Edit the expression to change each instance of _Inferred_ to _ByMonth_ (or any value other than _Inferred_)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Delete the YOY calculation, then change the format of Peildatum to "Year", then create YOY Growth again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either of these approaches should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 13:48:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/373276#M7534</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2017-07-05T13:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/374418#M7592</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Nicky&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 10:00:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/374418#M7592</guid>
      <dc:creator>NickyM</dc:creator>
      <dc:date>2017-07-10T10:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA YOY missing values</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/374448#M7593</link>
      <description>&lt;P&gt;Great to hear it Nicky! Thanks for following up with us.&amp;nbsp;&lt;img id="manhappy" class="emoticon emoticon-manhappy" src="https://communities.sas.com/i/smilies/16x16_man-happy.png" alt="Man Happy" title="Man Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 11:41:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-YOY-missing-values/m-p/374448#M7593</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2017-07-10T11:41:11Z</dc:date>
    </item>
  </channel>
</rss>

