Bom dia a todos.
Se puderem me auxiliar ficarei grato
Tenha uma Base no SAS chamada Coordenadores e preciso fazer um filtro na Coluna Mes_Referencia
Estou tentando utilizar das duas formas abaixo, mas continua trazendo a base completa e não apenas os casos de Nov/22 para cá.
%let DtInicial= "01/11/2022";
PROC SQL;
CREATE TABLE WORK.Coordenadores_01 AS
SELECT *
FROM WORK.Coordenadores;
Where Mes_Referencia_Teste >= &DtInicial;
Format "&DtInicial"d yymmdd10.;
RUN;
Tentei também dessa forma:
%let DtInicial= "01/11/2022";
Data Coordenadores_01;
set Work.Coordenadores;
if Mes_Referencia_Teste>= &DtInicial;
Run;
Muito Obrigado.