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

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

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