Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

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

Reply
Frequent Learner
Posts: 1

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

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

 

 

Super User
Posts: 23,992

Re: Need help with copying data into missing fields using SAS VA 7.3 Data Builder

Posted in reply to cdickens3676

If it supports data step code:

 

data want;
update have(obs=0)  have;
by recordID;
run;
PROC Star
Posts: 398

Re: Need help with copying data into missing fields using SAS VA 7.3 Data Builder

Sweet Smiley Happy

Ask a Question
Discussion stats
  • 2 replies
  • 158 views
  • 1 like
  • 3 in conversation