Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Nav Sweeney
Starting Member
1 Post |
Posted - 2012-10-06 : 13:40:52
|
Hi folks,I have a SAS dataset with the following columns: THE DATA LOOKS SOMETHING LIKE THE SAMPLE PRESENTED BELOW:EMPLOYEEID DATE(DDMMYYYY) DAILY_WAGESE235888 22/07/2011 200E797890 22/07/2011 180E098098 23/09/2011 230E353454 24/05/2011 290E809890 02/09/2011 230E879890 06/08/2011 240E879890 30/05/2011 150E879890 25/09/2011 100I want to create two extra columns:i. Maximum(highest) wage earned for each and every employee in the last three monthsii. Maximum(highest) wage earned in the last 12 months for those employees who have been with the company for over a year?iii. last wage (final or most recent wage earned)Please provide me the SAS logic |
|
sunitabeck
Master Smack Fu Yak Hacker
5155 Posts |
Posted - 2012-10-06 : 18:50:53
|
This forum specializes in Microsoft SQL Server; so there are very few if any experts on SAS that frequent this forum. You may get faster and better answers if you posted your question to an SAS forum. |
|
|
|
|
|