09-24-2015 11:31 AM
09-24-2015 12:00 PM
I can't tell from the posted example what "final two columns" may mean. That looks like there might be break to insert a heading part way down a column.
09-24-2015 01:08 PM
The two columns that are inset below the main column, headed "CPT" and "# Provided" represent the last two fields of each record.
What you see is an Excel spreadsheet that I mocked up to show what I wanted to display using proc report.
I tried to use a break command and then test the CPT description (cpt_description ne '') to tell the program to write the last tweo columns using a line statment, but that didn't work. Or I did it wrong.
09-24-2015 02:04 PM
Two variables in the same column aren't like to work within proc report. Is the 'report' supposed to count or summarize a variable to the the "# provided" value?
Depending on your data structure I think it might be possible to get something like this using proc tabulate as it treats nesting differently. But the summary values would have to come from the same function (n or sum) and getting a label like "# provided" in a summary column takes a bit of extra work.
And a pretty complete description of the input data would be needed.