Hi All, I'm creating a table using proc report and would appreciate some insight on stacking multiple variables into a single column in a table in proc report. I have done this using proc tabulate but struggling to produce the same report using proc Report. My question would be how would I stack multiple column variables in a single column in table so that it becomes easy for me to compute count and percentage on the data across. my column variables are sex Age County total M 57 Travis 120 F 13 William 100 M 21 Bexar 123 F 19 william 145 proc report data=test2; column SEX AGE COUNTY total, (n pctn); define sex/group; define age/ group; defineCounty/across; define total/analysis; run; final output Demographics Count percentage M 2 F 2 50-57 1 10-17 1 19-29 1
... View more