BookmarkSubscribeRSS Feed
cdickens3676
Calcite | Level 5

I need assistance Need help with copying data into missing fields using SAS VA 7.3 Data Builder

Here is an example of the results in Data prep

 

Record ID   Name    Activity Number Year      Month 

1                 snoopy   123                    

1                                                           2018    JAN

2                 bob         456                     

2                                                           2018     FEB

3                raul          123 

3                                                           2018      MAR

 

Here is what I want the results to look like 

 

Record ID   Name    Activity Number Year      Month 

1                 snoopy   123                    2018     JAN

2                 bob         456                    2018    FEB

3                raul          123                    2018     MAR

 

 

2 REPLIES 2
Reeza
Super User

If it supports data step code:

 

data want;
update have(obs=0)  have;
by recordID;
run;

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
  • 788 views
  • 1 like
  • 3 in conversation