BookmarkSubscribeRSS Feed
SwapnaKumari
Fluorite | Level 6


Hi,

I am working to create a code which can replace the value of null column with a values of another not null column by using Expression node, but facing challenge. can anyone please help to get the code for this.

Thanks in advance.

1 REPLY 1
MikeFrost
SAS Employee

Where column1 is the possible null column and column2 is the not null column, try:

If isnull(column1) then
  Column1 = column2

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1272 views
  • 1 like
  • 2 in conversation