|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Trying to do a Row-Total, however I have a percentage in this 'Row-Total' and need it to compute the total percentage and NOT sum it. I also have subtotals. So the report has a subtotals and row-totals. In the subtotals and row-totals there is a percentage. I figured out how to get the percentage to compute rather than sum in the subtotal, BUT now I can't figure out how to get the row-totals to compute the percentage rather than sum them. This is what my code looks like....
TABLE FILE HOLD1 SUM TOTAL1 AS 'TOTAL' SKIP-LINE OVER MI OVER COMPUTE CUMPCT/P6.1=(MI/TOTAL1)*100; AS '%' BY ORGN PAGE-BREAK NOPRINT BY ISSUENAME NOPRINT BY POOLNO BY ISSUENAME RECOMPUTE MULTILINES -*ON ORGN RECOMPUTE MULTILINES ROW-TOTAL AS 'GRAND TOTAL' ON ORGN SUMMARIZE ACROSS MONTH ON TABLE SUMMARIZE HEADING "PAGE <TABPAGENO <93 Contract Underwriting" "<77 Pacific Region Volume By Pool Name - Ref# 742" "<99 &CURRMON <103 &CURRENTYEAR" " " "<ORGN" " " END Please help! |
||
|
|
Platinum Member |
I'm not sure I know what you are trying to do, but the grand total is the value TOT.fieldname.
You might use it in this way.,. TABLE FILE HOLD1 SUM TOT.TOTAL1 NOPRINT AND TOTAL1 AS 'TOTAL' SKIP-LINE OVER MI OVER COMPUTE CUMPCT/P6.1=(MI/TOTAL1)*100; AS '%' BY ORGN PAGE-BREAK NOPRINT ACROSS MONTH COMPUTE NEWPCT/D8.2=100*(C2+C7+C10+C13 +C16+C19+C22+C25+C28+C31+C33+C36)/ TOT.TOTAL1 ; |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

