Hi:
In order to do what you want, the PREMIUM variable will need to be numeric. You can't add or summarize PREMIUM if it stays as a character variable as you show in your posted code.
Also, it's not clear if you need a TABLE as output or if you just need a REPORT. If you just need a REPORT, then either PROC REPORT or PROC TABULATE or other procedures could generate the summarized information you show. I chose PROC REPORT because the structure of the output table created in the OUT= option will be the same structure in the output dataset.
The only tricky part is that PROC REPORT will use absolute column numbers _C3_ and _C4_ for the COVERAGE columns in the output dataset, which required a RENAME, as shown in the second examples below:
Hope this helps you with your question.
Cynthia
... View more