Apologies, your desired output makes no sense to me, I'd think you may wish to show which report value is related to a specific date. Others have given you excellent answers, however, if you wish to just display your data, here is a suggestion: data have;
input ID Date :mmddyy8. Report;
cards;
1 3/12/16 20
1 4/13/16 30
1 5/16/16 40
2 6/15/16 50
;
proc report nowd out=want;
columns ID (Date, Report);
define id /group ;
define date /across order=data;
define report /analysis;
format date date10.;
run; In case you do need a dataset, check out the want dataset and rename the _Cn_ vars accordingly.
... View more