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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1213 views
  • 1 like
  • 2 in conversation