06-14-2018 10:00 AM
Some of us refuse to download and open .xlsx (and other MS Office) documents because they can be a security threat.
Please show us your data in the form of SAS data set Code as described here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat...
06-14-2018 10:06 AM
How can insert new row to the report by using Proc report. or how to insert values in existing row
06-14-2018 10:26 AM
How did you get this table? Show us the code.
If we knew the answer to how you created this table, we could tell you the best way to do this (which may not be PROC REPORT).
06-14-2018 11:49 AM - edited 06-14-2018 11:50 AM
1. Show the code you are currently using. Having to guess at variable names and the role any of the variables might have such as group, display or analysis means some suggestions may not work.
It might be possible to create a multilabel format for what ever variable is represented in your "name" column but it is not obvious which "names" might constitute "Total B" or "Total A" , which is a very poor way to reference things since you have specific values of A and B shown as well.
The online documentation for Proc Report shows an example that does something similar in result to what you want.
Note that the order of definition of statements in a multilabel format can change the order of appearance in the output.