<?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 EG Filter error in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Filter-error/m-p/875378#M42942</link>
    <description>&lt;P&gt;Found why it wasn't working. I did not check off "Generate filter for a prompt value". Now it is working! &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ralizadeh_0-1683850171748.png" style="width: 844px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83903i8C64D591F9E3900B/image-dimensions/844x363?v=v2" width="844" height="363" role="button" title="ralizadeh_0-1683850171748.png" alt="ralizadeh_0-1683850171748.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 00:11:11 GMT</pubDate>
    <dc:creator>ralizadeh</dc:creator>
    <dc:date>2023-05-12T00:11:11Z</dc:date>
    <item>
      <title>SAS EG Filter error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Filter-error/m-p/875374#M42941</link>
      <description>&lt;P&gt;I am trying to make a filter in SAS EG using the Filter Data tab and the prompt date. I get the error below. Not sure why.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 ;*';*";*/;quit;run;&lt;BR /&gt;2 OPTIONS PAGENO=MIN;&lt;BR /&gt;3 %LET DateRange_max = 31Dec2022;&lt;BR /&gt;4 %LET DateRange_min_label = November 01, 2021;&lt;BR /&gt;5 %LET DateRange_min = 01Nov2021;&lt;BR /&gt;6 %LET DateRange_max_label = December 31, 2022;&lt;/P&gt;
&lt;P&gt;7 PROC SQL NOEXEC;&lt;BR /&gt;8 SELECT t2.CIN,&lt;BR /&gt;9 t2.Month,&lt;BR /&gt;10 t2.Year,&lt;BR /&gt;11 t2.DATE,&lt;BR /&gt;12 /* October */&lt;BR /&gt;13 (Month( intnx('month', "&amp;amp;DateRange_min"d, 11, 'end'))) FORMAT=Z2. AS October,&lt;BR /&gt;14 t2.Age_Group,&lt;BR /&gt;15 t2.Elig&lt;BR /&gt;16 FROM WORK.NO_DUP t2&lt;BR /&gt;17 WHERE t2.DATE BETWEEN &amp;amp;DateRange_min AND &amp;amp;DateRange_max;&lt;BR /&gt;&lt;FONT color="#339966"&gt;NOTE: Line generated by the macro variable "DATERANGE_MIN".&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;17 01Nov2021&lt;/FONT&gt;&lt;BR /&gt;_______&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;22&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;76&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR 22-322: Syntax error, expecting one of the following: !!, *, **, +, -, /, AND, ||.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;18 QUIT;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;&lt;BR /&gt;19 %SYMDEL DateRange_max_label;&lt;BR /&gt;20 %SYMDEL DateRange_min_label;&lt;BR /&gt;21 %SYMDEL DateRange_min;&lt;BR /&gt;22 %SYMDEL DateRange_max;&lt;BR /&gt;23 &lt;BR /&gt;24 QUIT; RUN;&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;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ralizadeh_0-1683849688922.png" style="width: 840px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83901i0D0639FB6C518890/image-dimensions/840x233?v=v2" width="840" height="233" role="button" title="ralizadeh_0-1683849688922.png" alt="ralizadeh_0-1683849688922.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ralizadeh_1-1683849751686.png" style="width: 994px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83902iC141145A714960BF/image-dimensions/994x431?v=v2" width="994" height="431" role="button" title="ralizadeh_1-1683849751686.png" alt="ralizadeh_1-1683849751686.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>Fri, 12 May 2023 00:02:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Filter-error/m-p/875374#M42941</guid>
      <dc:creator>ralizadeh</dc:creator>
      <dc:date>2023-05-12T00:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG Filter error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Filter-error/m-p/875378#M42942</link>
      <description>&lt;P&gt;Found why it wasn't working. I did not check off "Generate filter for a prompt value". Now it is working! &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ralizadeh_0-1683850171748.png" style="width: 844px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83903i8C64D591F9E3900B/image-dimensions/844x363?v=v2" width="844" height="363" role="button" title="ralizadeh_0-1683850171748.png" alt="ralizadeh_0-1683850171748.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 00:11:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-Filter-error/m-p/875378#M42942</guid>
      <dc:creator>ralizadeh</dc:creator>
      <dc:date>2023-05-12T00:11:11Z</dc:date>
    </item>
  </channel>
</rss>

