TABLE FILE CAR BY COUNTRY BY CAR NOPRINT SUM CAR AVE.SEATS SEATS SALES ON COUNTRY RECOMPUTE MULTILINES AS 'Total' ON COUNTRY SUBFOOT " " END
I would really like RECOMPUTE to average the AVE.SEATS. Thanks!This message has been edited. Last edited by: Mark1,
Windows version 768
June 16, 2011, 05:01 PM
Francis Mariani
Try calculating your own average with a COMPUTE statement - then the RECOMPUTE should work:
TABLE FILE CAR
SUM
CAR
AVE.SEATS
COMPUTE AVESEATS/I4 = SEATS / CNT.SEATS;
SEATS
SALES
BY COUNTRY
BY CAR NOPRINT
ON COUNTRY RECOMPUTE MULTILINES AS 'TOTAL'
ON COUNTRY SUBFOOT
" "
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server