vnf
I tried to replicate this with the wf_retail data and it all worked as expected...
DEFINE FILE WF_RETAIL
REV_COM/D12.0=REVENUE_US;
REV/D12=REVENUE_US;
END
TABLE FILE WF_RETAIL
SUM
COMPUTE REV_INT/I11 = REVENUE_US;
COMPUTE REV_COM/D12 = REVENUE_US;
REVENUE_US/D12
REV
BY TIME_YEAR
BY PRODUCT_CATEGORY
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE COLUMN-TOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
END
Sale
Year Product
Category
REV_INT
REV_COM
Revenue
REV
2009 Accessories 499551 499,551 499,551 499,551
Camcorder 667254 667,254 667,254 667,254
Computers 179761 179,761 179,761 179,761
Media Player 1009790 1,009,791 1,009,791 1,009,791
Stereo Systems 1216393 1,216,394 1,216,394 1,216,394
Televisions 286160 286,161 286,161 286,161
Video Production 259179 259,180 259,180 259,180
TOTAL 4118088 4,118,092 4,118,092 4,118,092
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats