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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1211 views
  • 0 likes
  • 2 in conversation