The SAS Output Delivery System and reporting techniques

Table 'Summary of changes'

Regular Contributor
Posts: 214

Table 'Summary of changes'

[ Edited ]

*the text has been edited


Hi all,


Could you please advise how to prepare table 'Summary of changes' from the dataset:


Patient number Treatment Arm Visit System Result


What should be an algorythm? Should proc tabulate be used? Or proc report? Could you provide any examples of the code.


Here below is the view of the dataset and the table.



Thank you in advance for any replies. The executable .sas for the dataset is attached.


Super User
Posts: 13,583

Re: Table 'Summary of changes'

Posted in reply to DmytroYermak

I suspect this can be done with a little reformating of the data so we can get a row "visit" and a column "visit".

However most of us do not have time to retype data from an image and your example data has no value for result other than normal.


You can make data step code for pasting in the forum from a SAS data set: Instructions here: will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.

Posts: 9,371

Re: Table 'Summary of changes'

Posted in reply to DmytroYermak
This previous forum posting has some useful links for how safety and efficacy reports are typically done:

Ask a Question
Discussion stats
  • 2 replies
  • 3 in conversation