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: 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!

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