BookmarkSubscribeRSS Feed
CTT53
Calcite | Level 5

I am trying to add days to a date field if another column meets a criteria of Yes.   I am doing this in enterprise guide.    if the column has Yes than add 30 days to the date field column.     Any suggestions?

 

3 REPLIES 3
PaigeMiller
Diamond | Level 26
if column='Yes' then date=date+30;
--
Paige Miller
CTT53
Calcite | Level 5

Thanks for your response.   Been trying different variations of that and it doesn't like it

 

PaigeMiller
Diamond | Level 26

Show us the SASLOG. 

--
Paige Miller

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1808 views
  • 0 likes
  • 2 in conversation