I am trying to generate a matrix report using BY and ACROSS.
The code below gives me what I want with some extra information. It not only sums up tons but also percent for every row of data. So grand total includes ROW-TOTAL for tons and ROW-TOTAL for percent.
Similarly COLUMN-TOTAL sums every column in the matrix.
TABLE FILE CRDATA
SUM
CRTONS AS 'TONS'
AND ROW-TOTAL AS 'GRAND TOTAL'
PERCNT AS 'PERCENT'
BY
GRT AS 'GROUP'
ACROSS
SITE_N AS 'SITE'
ON TABLE COLUMN-TOTAL
Is there any way to total just one specific column in ROW-TOTAL and COLUMN-TOTAL.
Thanks in advance for help
The code below gives me what I want with some extra information. It not only sums up tons but also percent for every row of data. So grand total includes ROW-TOTAL for tons and ROW-TOTAL for percent.
Similarly COLUMN-TOTAL sums every column in the matrix.
TABLE FILE CRDATA
SUM
CRTONS AS 'TONS'
AND ROW-TOTAL AS 'GRAND TOTAL'
PERCNT AS 'PERCENT'
BY
GRT AS 'GROUP'
ACROSS
SITE_N AS 'SITE'
ON TABLE COLUMN-TOTAL
Is there any way to total just one specific column in ROW-TOTAL and COLUMN-TOTAL.
Thanks in advance for help