A table is to be created is the attached format. It should contain a header like the one shown as 'Call Summary' and Count & % of calls as shown for the columns headers along with the quarter.
A BLANK grey line after the Column summary and some grayed rows where data will not be shown ever.
% and numeric values in same column.
Thanks for anyone's help in advance!
Most of us will not download or open Microsoft Office documents, as they are security threats. To show us the desired appearance of the output, you can provide a screen capture.
Do you expect the report procedure to calculate all of those fields?
Proc Report will expect a column to be of a single statistic and you are mixing counts, means and percentages in one column.
I can do something similar with Proc Tabulate but that would be two tables, though close together. If you have all of the data pre-summarized then the data step Report Writing Interface allows you do place values in specific rows/columns. Be advised that with that much flexibility there is a bit more learning curve for some things than for the report procedures like Report or Tabulate because you have to provide rules for start/end of rows and the structure of your data set is going to be very important as to how you do that.
That is a very poorly structured example data for the type of table you are requesting.
Can you show us the un-summarized data?
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.