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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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