<?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: Difference from Previous Parallel Period with _ToDate_ and dynamic date in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Difference-from-Previous-Parallel-Period-with-ToDate-and-dynamic/m-p/876748#M17245</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440559"&gt;@moirafascioli&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have moved your post to the "SAS Visual Analytics"-board.&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Sat, 20 May 2023 11:25:21 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-05-20T11:25:21Z</dc:date>
    <item>
      <title>Difference from Previous Parallel Period with _ToDate_ and dynamic date</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Difference-from-Previous-Parallel-Period-with-ToDate-and-dynamic/m-p/876005#M17244</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I want to use the Difference from previous parallel period, calculation available on Visual Analytics.&lt;/P&gt;&lt;P&gt;I tried with the _ToDate_ parameter, inserting manually a date, in the screen you can see I put 08MAY2023 and it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have to insert &lt;U&gt;a dynamic date&lt;/U&gt;, in particular I've to put the &lt;EM&gt;max&lt;/EM&gt; date of my calendar date dimension (&lt;EM&gt;calendar_day_date&lt;/EM&gt;) of the table I am analyzing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possibile to do that?&lt;/P&gt;&lt;P&gt;How can I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ParallelPeriod(_Sum_, 'net_sales_euro'n,_IgnoreAllTimeFrameFilters_, 'calendar_day_date'n, _Inferred_,_Inferred_, 0, _ToDate_, '8MAY2023'd) - ParallelPeriod(_Sum_,'net_sales_euro'n, _IgnoreAllTimeFrameFilters_,'calendar_day_date'n, _Inferred_, _Inferred_, -1, _ToDate_,'8MAY2023'd)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parallel period - VISUAL ANALYTICS.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84016iAB14778CD764A28A/image-size/large?v=v2&amp;amp;px=999" role="button" title="parallel period - VISUAL ANALYTICS.png" alt="parallel period - VISUAL ANALYTICS.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 13:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Difference-from-Previous-Parallel-Period-with-ToDate-and-dynamic/m-p/876005#M17244</guid>
      <dc:creator>moirafascioli</dc:creator>
      <dc:date>2023-05-16T13:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Difference from Previous Parallel Period with _ToDate_ and dynamic date</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Difference-from-Previous-Parallel-Period-with-ToDate-and-dynamic/m-p/876748#M17245</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440559"&gt;@moirafascioli&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have moved your post to the "SAS Visual Analytics"-board.&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 11:25:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Difference-from-Previous-Parallel-Period-with-ToDate-and-dynamic/m-p/876748#M17245</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-05-20T11:25:21Z</dc:date>
    </item>
  </channel>
</rss>

