BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ANLYNG
Pyrite | Level 9

Hi,

Is it possible to replace an empty char variable with a specific string ? I know the replace function but I have to combine it with something else.  Is there a kind of COALESCEC in SAS VA? we are running 7.3.

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
FredrikE
Rhodochrosite | Level 12

Hi!

 

IF missing([var]) RETURN 'Missing value!'

ELSE [var]

 

???

 

//Fredrik

View solution in original post

2 REPLIES 2
FredrikE
Rhodochrosite | Level 12

Hi!

 

IF missing([var]) RETURN 'Missing value!'

ELSE [var]

 

???

 

//Fredrik

ANLYNG
Pyrite | Level 9

 It works!!!! thanks

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!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 861 views
  • 1 like
  • 2 in conversation