<?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 over year in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875045#M17196</link>
    <description>&lt;P&gt;I'm not sure I understand -- you want to display a line chart with two lines, right?&lt;/P&gt;
&lt;P&gt;Or did you just want to chart the difference? You could use the quick calculation if so.&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 18:26:48 GMT</pubDate>
    <dc:creator>Sam_SAS</dc:creator>
    <dc:date>2023-05-10T18:26:48Z</dc:date>
    <item>
      <title>Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874665#M17185</link>
      <description>&lt;P&gt;Hello and good morning!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to know if anyone could spell out how I can go about creating a timeline to express year over year differences. I imagine it is something that is simple and I have just been looking in the wrong places. What I mean is I would like to have a chart that goes from:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jeffery_Porter_0-1683641134815.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83742i126FB9E92785BC30/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jeffery_Porter_0-1683641134815.png" alt="Jeffery_Porter_0-1683641134815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jeffery_Porter_1-1683641197417.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83743i2DA0270899D1435D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jeffery_Porter_1-1683641197417.png" alt="Jeffery_Porter_1-1683641197417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please forgive my horrible drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your assistance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 14:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874665#M17185</guid>
      <dc:creator>Jeffery_Porter</dc:creator>
      <dc:date>2023-05-09T14:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874699#M17187</link>
      <description>&lt;P&gt;Hey Jeffrey,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For YoY, use the Quick Calculation available from the Data Pane -&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/vacdc/v_018/vareportdata/p1vsphor4qnevcn13p4bepmj5wwx.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/vacdc/v_018/vareportdata/p1vsphor4qnevcn13p4bepmj5wwx.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Robby&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 16:32:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874699#M17187</guid>
      <dc:creator>RobbyP</dc:creator>
      <dc:date>2023-05-09T16:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874721#M17188</link>
      <description>&lt;P&gt;I think you want to visualize it like this, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yoy.png" style="width: 605px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83752i8D5760998FC24207/image-size/large?v=v2&amp;amp;px=999" role="button" title="yoy.png" alt="yoy.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The quick calculation for YOY growth is super useful! But to visually compare the two years' data you will need to make a calculated item using the &lt;A href="https://go.documentation.sas.com/doc/en/vacdc/v_018/vareportdata/p0dovqqp325peyn1dpijpxxmwj83.htm#p1dn6xullue9hkn131dkuudpz2br" target="_self"&gt;ParallelPeriod() operator&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This operator has a ton of parameters, but just refer to the doc and the tooltips &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the expression I used for the chart above:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yoy2.png" style="width: 368px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83753iFC16DD0A2BAB5EB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="yoy2.png" alt="yoy2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This expression returns the value for the same month of the previous year, so you can take this calculated item and plot it alongside the original measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if that helps!&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 18:03:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874721#M17188</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-05-09T18:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874919#M17191</link>
      <description>&lt;P&gt;Thank you very much Sam_SAS that was wonderfully helpful!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if you have ever run into this before? I am seeing the months from 1960 which I am assuming is some sort of error in the calculation, here is the calculation from 2022 and 2023:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YoYerrtor.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83807i1ED049A78FA7F8FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YoYerrtor.png" alt="YoYerrtor.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 12:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874919#M17191</guid>
      <dc:creator>Jeffery_Porter</dc:creator>
      <dc:date>2023-05-10T12:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874944#M17193</link>
      <description>&lt;P&gt;SAS dates are stored as numbers based on January 1960, so I think somewhere along the way you are using numerics as dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible you are using the wrong variable for the date?&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 13:47:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/874944#M17193</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-05-10T13:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875006#M17194</link>
      <description>&lt;P&gt;It is very likely, I will look into this and see what I did on my end!&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 15:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875006#M17194</guid>
      <dc:creator>Jeffery_Porter</dc:creator>
      <dc:date>2023-05-10T15:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875032#M17195</link>
      <description>&lt;P&gt;The solution a mistake on my end, I had only the Month Displaying and not MMYYYY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one last question and Need a little more guidance, for some reason I am getting 2 datapoints for each month, is there a way to ensure it just shows 1 month for each point?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jeffery_Porter_0-1683740107987.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83837i521BEE0BB979B9DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jeffery_Porter_0-1683740107987.png" alt="Jeffery_Porter_0-1683740107987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 17:35:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875032#M17195</guid>
      <dc:creator>Jeffery_Porter</dc:creator>
      <dc:date>2023-05-10T17:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875045#M17196</link>
      <description>&lt;P&gt;I'm not sure I understand -- you want to display a line chart with two lines, right?&lt;/P&gt;
&lt;P&gt;Or did you just want to chart the difference? You could use the quick calculation if so.&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 18:26:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875045#M17196</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-05-10T18:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875174#M17197</link>
      <description>&lt;P&gt;No problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the bottom of the chart, you see each month is listed 2 times, for example, one is on April 1 and the other is April 16th, then March 1 and March 16th.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to just have "April" and "March" listed only 1 time?&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 10:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875174#M17197</guid>
      <dc:creator>Jeffery_Porter</dc:creator>
      <dc:date>2023-05-11T10:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875198#M17198</link>
      <description>&lt;P&gt;Ah! You want the ticks on the horizontal axis to only be 1 per month. I think the actual data for the chart only has 1 value, but two axis ticks are shown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you set the format on your date variable to be a month format like MMMYYYY, that should do the trick.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VA doesn't like to let you change the format of a variable when it is used in a calculation, so what you might want to do is:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;Duplicate the existing variable and set the desired format&lt;/P&gt;
&lt;P&gt;2. Edit your calculated item and replace the variable with the duplicate.&lt;/P&gt;
&lt;P&gt;3. Replace the variable in your chart with the duplicate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should work, and be less of a pain from deleting everything that uses the variable and re-creating it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:10:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/875198#M17198</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-05-11T13:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/876532#M17238</link>
      <description>&lt;P&gt;Hello! I was out of the office! thank you for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the solution and as silly as it was, it was just because the widget was too large, once I shrunk it down I only had 1 data point for each month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a wonderful day!&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 18:21:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/876532#M17238</guid>
      <dc:creator>Jeffery_Porter</dc:creator>
      <dc:date>2023-05-18T18:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Year over year</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/876534#M17239</link>
      <description>&lt;P&gt;Thanks for letting us know!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The axis tick values are automatically thinned when the report is displayed at a smaller size. But changing the date format should ensure that only a single tick is displayed per month, regardless of how large the report object is displayed. I would recommend this if it is important to you and you are not sure how consumers of the report might display it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Sam&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 18:26:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Year-over-year/m-p/876534#M17239</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2023-05-18T18:26:36Z</dc:date>
    </item>
  </channel>
</rss>

