Skip to content
Advertisement

I can not add ‘total’ as word under year column

I need to add total wood in overall total for each column. It does not work because “total” is character and cannot be placed in a numeric variable. Below is the code i am using:

Advertisement

Answer

The problem is the type inconsistency. In SQL, you would fix this by converting the year to a string:

In proc sql, you can use put:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement