I have a request from a customer to produce a report that has two row variables and one column variable and they want the value of the first row variable to span all the columns of the report, rather than be in the first row. They would prefer using TABULATE, but I don't know if it's possible. This little example demonstrates what they want. proc tabulate data=sashelp.shoes; where region in ('Asia', 'Canada') and product in ('Boot','Slipper') and Subsidiary in('Montreal','Toronto','Seoul','Bangkok'); class product region Subsidiary; var sales; table region=''*(subsidiary='' all='Total'),(product='' all='Total')*(sales=''*sum=''*format=comma8.); run; This produces this result: What they would like is for the first column to go away and have the value span the rest of the columns, producing something like this instead:
... View more