<?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: Update in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Update-rule-with-current-month/m-p/904353#M17656</link>
    <description>&lt;P&gt;Try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;format(datepart(now()), yym6.)='202312'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look for the format value that returns yyyymm&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 14:21:39 GMT</pubDate>
    <dc:creator>acordes</dc:creator>
    <dc:date>2023-11-23T14:21:39Z</dc:date>
    <item>
      <title>Update rule with current month</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Update-rule-with-current-month/m-p/904351#M17655</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a rule in SAS VA , that reads data for the current month we are in. what i want to do is create a rule where i don't have to update the 202311 to 202312, the rule should automatically update to the current month we are in and update the figures.&amp;nbsp; the rule that i am currently using is as follow, but you will notice that month book is 202311- so that means i would have to manually update next month to 202312, what parameters would i use instead of 202311?&lt;/P&gt;
&lt;P&gt;IF ( 'Month Booked (yyyy/mm)'n In (202311) )&lt;BR /&gt;RETURN 1&lt;BR /&gt;ELSE 0&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 15:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Update-rule-with-current-month/m-p/904351#M17655</guid>
      <dc:creator>MJM11111</dc:creator>
      <dc:date>2023-11-23T15:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Update</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Update-rule-with-current-month/m-p/904353#M17656</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;format(datepart(now()), yym6.)='202312'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look for the format value that returns yyyymm&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 14:21:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Update-rule-with-current-month/m-p/904353#M17656</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2023-11-23T14:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Update rule with current month</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Update-rule-with-current-month/m-p/906695#M17677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;(year(date)&amp;lt;=year(datepart(now()))&lt;BR /&gt;if you want to filter for previous years and filter the current year until the current month, you can use:&lt;BR /&gt;&lt;SPAN&gt;&lt;BR /&gt;(year(date) &amp;lt; year(datepart(now()))) &lt;BR /&gt;&lt;STRONG&gt;or&lt;/STRONG&gt; &lt;BR /&gt;(Year(date)=year(datepart(now())) and month(date)&amp;lt;=month(datepart(now())))&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>Thu, 07 Dec 2023 12:14:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Update-rule-with-current-month/m-p/906695#M17677</guid>
      <dc:creator>ThdB</dc:creator>
      <dc:date>2023-12-07T12:14:38Z</dc:date>
    </item>
  </channel>
</rss>

