BookmarkSubscribeRSS Feed
jagadeesh_2907
Calcite | Level 5

I have two dataset A and B

dataset A:
year Quarter Amount
2012 Q4 200
2013  Q4 300
2014  Q4 400
2015 Q4  500
2016 Q4 600

dataset B:
year quarter Amount
2013 Q4 400
2014 Q4 510.45
2015 Q4 600
2016 Q4  700

i want to replace the amount values which have been changed in dataset B in Dataset A.
Could you please let me know how to do it in SAS.

My output should be
Dataset A:
year Quarter Amount
2012 Q4 200
2013  Q4 400
2014  Q4 510.45
2015 Q4  600
2016 Q4 700

4 REPLIES 4
LinusH
Tourmaline | Level 20

Take the free Programming 1 course where you will learning techniques like this.

Data never sleeps
jagadeesh_2907
Calcite | Level 5
Okay sure. But I need to do this urgently. Could you please help me do this in SAS
LinusH
Tourmaline | Level 20

This is not a training site. Simple inquiries that can be read directly from documentation or teached in introductory classes in not in my priority list.

The responders here volunteer.

I don't care if it's urgent or not, who decides which is most important among the thousands of questions that are posted here?

I'm here for the fun of it, and help people with basic tasks because they lack of planning is not it.

Data never sleeps

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1425 views
  • 1 like
  • 3 in conversation