No announcement yet.

How to Change Column Labels by Page

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Change Column Labels by Page

    There may be situations where you want a different column heading on each page of your report. This can be done by manipulating the paging variable in the input data set by assigning different labels for the different values of the paging variable.

    In the attached example we use the paging variable SEX. When SEX=1 (Female) the labels are A1, A2, and A3. When SEX=2 (Male) the same column labels will appear as B1, B2 and B3.

    See to view the sas program illustrating this work around.
    See collab.doc to view the output of the program.
    Attached Files