How to create a conditional footnote
You can create a report with conditional footnotes. These are footnotes that are different by pages according to a page-by variable. In the attached example, the report is paged-by the variable SEX.
You add the conditional footnote lines to the input data set (See second data step)
- For 'Female' there are 3 footnote lines
- For 'Male' there are only two footnote lines
as variables. In our example they are: FT1, FT2 and FT3.
In the %DZSTABLE macro call the titles parameter contains the paging variable
!SEX and the footnote parameter contains the !FT1, !FT2 and !FT3 variables.
The resulting report will print the appropriate footnote lines by pages. See attachment TestFootnote.jpg
Last edited by Stella Scafidi; 08-18-2010 at 01:52 PM.
Reason: add attachments