The following SAS program is submitted:
footnote1 ‘Sales Report for Last Month’;
footnote2 ‘Selected Products Only’;
footnote3 ‘All Regions’;
footnote4 ‘All Figures in Thousands of Dollars’;
proc print data = sasuser.shoes;
footnote2 ‘All Products’;
run;
Which footnote(s) is/are displayed in the report?
A. All Products
B. Sales Report for Last Month All Products
C. All Products All Regions All Figures in Thousands of Dollars
D. Sales Report for Last Month All Products All Regions All Figures in Thousands of
Dollars
Answer: B
Why footnote 3 and 4 disappear whereas footnote 1 stays? Thanks!
When you issue a footnote statement for a specific line (in your case "footnote2 'All products'") it replaces the footnote for that line and all footnotes with a higher line number so footnotes 3 and 4 are cancelled leaving only footnotes 1 and 2 in your output.
When you issue a footnote statement for a specific line (in your case "footnote2 'All products'") it replaces the footnote for that line and all footnotes with a higher line number so footnotes 3 and 4 are cancelled leaving only footnotes 1 and 2 in your output.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.