Hi,
I am outputting the results of proc tabulate to a series of sheets in an excel workbook. The problem is that each proc tabulate depends on a "where" statement. If the result of the "where" yields no records, I still want it to output to excel with null values. Right now the log just says that no observations were selected from the dataset, and goes onto the next tabulate step without creating a sheet for that step. This results in workbooks having inconsistent numbers of sheets. Any suggestions? Thanks in advance for any help.
I am outputting the results of proc tabulate to a series of sheets in an excel workbook. The problem is that each proc tabulate depends on a "where" statement. If the result of the "where" yields no records, I still want it to output to excel with null values. Right now the log just says that no observations were selected from the dataset, and goes onto the next tabulate step without creating a sheet for that step. This results in workbooks having inconsistent numbers of sheets. Any suggestions? Thanks in advance for any help.