I am calculating pct sales and formula to calculate pct sale is car sale/ all cars sale , and i need to show Totol sales and total % of sales , but when i used recompute it gives wrong value of pct total . can we calculate the total by using recompute or we need to use recap only ?
TABLE FILE CAR
SUM
CAR.BODY.SALES
COMPUTE salepct/D12.2% = 100*(CAR.BODY.SALES/TOT.CAR.BODY.SALES);
BY CAR.ORIGIN.COUNTRY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE RECOMPUTE AS 'Total'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET AUTOFIT OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,
$
ENDSTYLE
END
This message has been edited. Last edited by: FP Mod Chuck,