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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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