Hello,
I'm trying to produce reports in proc tabulate, but I need the output to have all the cells filled in.
This is what I get:
And this is what I want:
Here is my code:
proc tabulate data=ds01; class var1 var2 var3 var4; table var1 * var2 * var3, var4; run;
Thank you!
I don't think there's a way to do that in PROC TABULATE, but there should be in PROC REPORT. Or you can pre-summarize the data using PROC MEANS and display it using PROC REPORT or TABULATE.
@mandonium wrote: Hello, I'm trying to produce reports in proc tabulate, but I need the output to have all the cells filled in. This is what I get: And this is what I want: Here is my code: proc tabulate data=ds01; class var1 var2 var3 var4; table var1 * var2 * var3, var4; run; Thank you!
I don't know if there is such an option.
Maybe you should check documentation.
proc tabulate data=ds01;class var1 var2 var3 var4;table var1 * var2 * var3, var4/nocellmerge;run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Save the date!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.