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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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