BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
pchen002
Obsidian | Level 7

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!

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisBrooks
Ammonite | Level 13

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.

View solution in original post

1 REPLY 1
ChrisBrooks
Ammonite | Level 13

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.

SAS Innovate 2025: Call for Content

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 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 2207 views
  • 1 like
  • 2 in conversation