I am trying to do a RECOMPUTE on a Subtotal Line for columns (with percent values) in an Across field.
The values are not being recalculated, just adding together. Usually, the RECOMPUTE statement fixes this, but not in this case.
The row percents are computed fields, adding a few fields together, then dividing by another field.
Any ideas, how to get the Subtotal line to RECOMPUTE? I am using the MRE.
Current Code:
DEFINE FILE ...<br />PERC_TOT/I11= COUNT1 + COUNT2 + COUNT3;<br />HEAD_MONTH/I2MT= FISCAL_MONTH;<br />END<br />TABLE FILE ...<br />HEADING CENTER<br />...<br />SUM COMPUTE ORDER_PERC/I10%= PERC_TOT/ORDER_COUNT_TOTAL * 100; AS ''<br />BY PH_GROUP_NAME AS 'Group'<br />SUBTOTAL RECOMPUTE BY PARTNER_TYPE AS 'Type'<br />...<br />ACROSS FISCAL_YEAR AS 'FY'<br />ACROSS HEAD_MONTH AS 'Month'
Current Output:
2004 2005<br /> JUN JAN JUL<br />Group Type<br />ACME GROUP - N.A. A 43% 46% 44%<br /> B 28% 31% 30%<br /> C 29% 37% 28%<br />*TOTAL ACME GROUP - N.A. 100% 114% 102%
Thank you for any help in advance!