I am formatting data using proc tabulate for when I call the data in proc report. I need to know the name of the columns from proc tabulate to reference them in proc report. This works until I add in the sum feature in proc tabulate. I’m not sure what my variable is called after I add in the sum feature. In this particular scenario the summed variable is students_enrolled_sum. However if I change out the location column with a marco &columnName identifying the column name gets tricky. Without the sum my column name is always n. I tried using labels however the label appears to only be a label and not a name as can be seen in a proc print statement like the print screen.