Hi:
If your variable PCT_SPECKS_INTENSE is a computed report item (that means it does NOT already exist in WORK.TRIAL, then I would expect you to have a syntax error in your log that says something like:
[pre]
ERROR 22-322: Syntax error, expecting one of the following: -, /, :.
[/pre]
In the examples you have seen SALES.SUM is NOT a constant, not in the sense that it would always be 500. SALES.SUM would come from a DEFINE statement such as this:
[pre]
define sales / analysis sum 'Sales' f=dollar12.;
[/pre]
and in one possible program, I might see:
[pre]
column region sales bonus;
define region / group 'Region';
define sales / analysis sum 'Sales' f=dollar12.;
define bonus / computed 'Bonus';
compute bonus;
bonus=sales.sum * 1.50;
endcomp;
[/pre]
In the above code snippet, SALES.SUM for the ASIA region would be a different number than SALES.SUM for the CANADA region....so SALES.SUM is a "compound name" that references the SUM of the SALES report item for every GROUP (in this case, for every REGION).
It is possible to do division within PROC REPORT. I suspect you have other issues in your code. You might want to contact SAS Tech Support for more help, or provide some dummy data and the EXACT code that you're using here, as well as an example of the desired output that you want to see.
cynthia