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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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