Frequency Tables - Summary Criteria

Example 2 – DISP1 Different Denominators and Variable Reference

The first row in this table displays a value for the Total row only. Additional rows assign different denominators and row7 uses a variable reference to summarize reasons for discontinuation.

%disp1(in=adsl,
	skip=y,
	suffix=_2,
	ods_dest=rtf4,
	terms=
		row0=<crit=%nrstr(not missing(usubjid))
			label = %nrstr(Subjects Enrolled)
		      totalonly=Y
			pct=N
			denom=ALL
			indent=0>
		row1=<crit=%nrstr(saffl='Y')
			label = %nrstr(Subjects Randomized (a))
			pct=Y
			denom=ALL
			indent=0>
		row2=<crit=%nrstr(saffl^='Y')
			label = %nrstr(Subjects Not Randomized)
			totalonly=Y
			pct=N
			denom=ALL
			indent=0>
		row3=<crit=%nrstr(saffl='Y' and ITTFL='Y')
			label = %nrstr(Subjects Who Received Treatment (b))
			pct=Y
			denom=%nrstr(saffl='Y')
			indent=0>
		row4=<crit=%nrstr(saffl='Y' and ITTFL^='Y')
			label = %nrstr(Subjects Who Did Not Receive Treatment(b))
			pct=Y
			denom=%nrstr(saffl='Y')
			indent=0>
		row5=<crit=%nrstr(saffl='Y' and COMP24FL='Y')
			label = %nrstr(Subjects Who Completed Week 24 Treatment(b))
			pct=Y
			denom=%nrstr(saffl='Y')
			indent=0>
		row6=<crit=%nrstr(saffl='Y' and DISCONFL='Y')
			label = %nrstr(Subjects Who Discontinued Treatment (b))
			pct=Y
			denom=%nrstr(saffl='Y')
			indent=0>
		row7=<crit=%nrstr(DISCONFL='Y')
		      label = adsl.DCDECOD2 
			pct=Y
		      donotskip=Y
			denom=%nrstr(disconfl='Y')
		      indent=2>
);