Hello, I have a request to create a report that is basically a statistical report. The report is to show counts of 'how many' observations there are for particular columns based on the value of the column. For example: data column 'TType', this column can have up to 5 different distinct values, values (1,2,3,4, &5). I need to get a count for how many observations there are in the table for each value. I have done this by using a proc freq. I also have to do counts on 20 other columns based on some criteria, for example, count the number of observations where a particular column is not null. I am not sure the direction to go with for this. I thought there would be a better way to code this than having 20 separate 'select count' statments. I also need to all the counts to a data set. This report has requests for the averages on some columns as well as counts for some columns. Would appreciate any suggestions! Thanks
... View more