07-26-2016 09:28 AM
Proc print data=Nz noobs;
By decreasing Probability;
Var Client Champ Modified Tot_Budget Digi_Budget;
sum Tot_Budget Digi_Budget;
error :ERROR: Variable DECREASING not found.??
what should be the code ?
07-26-2016 10:00 AM
"decreasing" is not a SAS keyword, therefore SAS assumes it is a variable name.
You probably meant "descending".
It is very helpful to read the documentation: