|
Nav Sweeney
Starting Member
1 Posts |
Posted - 10/06/2012 : 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_WAGES E235888 22/07/2011 200 E797890 22/07/2011 180 E098098 23/09/2011 230 E353454 24/05/2011 290 E809890 02/09/2011 230 E879890 06/08/2011 240 E879890 30/05/2011 150 E879890 25/09/2011 100
I want to create two extra columns:
i. Maximum(highest) wage earned for each and every employee in the last three months ii. 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
|
|