Are you trying to create a pivot table as in Excel? If so, use SQL to summarise your data then you would need to use Proc Transpose to create the pivot.
proc sql;
create table summary_data as
select count(outcome) as YTD_count, outcome, issue
from raw_data
group by outcome, issue
order by issue, outcome;
quit;
/*Turn the summary into a pivot table summary */
proc transpose data= summary_data out= pivot_data prefix=YTD_;
by issue ;
id outcome;
var YTD_count;
run;
... View more