<?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 Filtering data on yesterdays date in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filtering-data-on-yesterdays-date/m-p/238913#M17191</link>
    <description>&lt;P&gt;I'm trying to filter a set of data based on yesterdays date in EG. &amp;nbsp;The below is the formula i'm trying to use but keep getting an error 22-322 where the system is looking for an additional character. &amp;nbsp;I've tried various things and can't seem to get this to work. &amp;nbsp;Would love to hear from you guys regarding what the system is looking to see in formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;t1.'Todays Date'n = TODAY()-1&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2015 15:27:18 GMT</pubDate>
    <dc:creator>srussell</dc:creator>
    <dc:date>2015-12-11T15:27:18Z</dc:date>
    <item>
      <title>Filtering data on yesterdays date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filtering-data-on-yesterdays-date/m-p/238913#M17191</link>
      <description>&lt;P&gt;I'm trying to filter a set of data based on yesterdays date in EG. &amp;nbsp;The below is the formula i'm trying to use but keep getting an error 22-322 where the system is looking for an additional character. &amp;nbsp;I've tried various things and can't seem to get this to work. &amp;nbsp;Would love to hear from you guys regarding what the system is looking to see in formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;t1.'Todays Date'n = TODAY()-1&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:27:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filtering-data-on-yesterdays-date/m-p/238913#M17191</guid>
      <dc:creator>srussell</dc:creator>
      <dc:date>2015-12-11T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data on yesterdays date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filtering-data-on-yesterdays-date/m-p/238917#M17192</link>
      <description>&lt;P&gt;When discussing an error it is almost a requirement to post the code with the log to get correct answers without lots of back and forth.&lt;/P&gt;
&lt;P&gt;the specific error you mention can arise from coding errors before the line reported as the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will say that calling a variable "Todays date" when the value is actually yesterday has much potential for confusion in general.&lt;/P&gt;
&lt;P&gt;Maybe something related to how the variable is intended to be used like "Target Date" or "Analysis Date" would be better.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:37:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filtering-data-on-yesterdays-date/m-p/238917#M17192</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-12-11T15:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data on yesterdays date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filtering-data-on-yesterdays-date/m-p/238994#M17196</link>
      <description>&lt;P&gt;Thanks for the feedback BallardW. &amp;nbsp;I will be sure to include the full code on future posts. &amp;nbsp;We just started using SAS and new to the forums. &amp;nbsp;Unsure what exactly happened, but after signing back into they system, the previous code started working. &amp;nbsp;Must have been on the right track with what I had. &amp;nbsp;Although now I have another mystery. &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;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 20:44:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filtering-data-on-yesterdays-date/m-p/238994#M17196</guid>
      <dc:creator>srussell</dc:creator>
      <dc:date>2015-12-11T20:44:26Z</dc:date>
    </item>
  </channel>
</rss>

