TABLE FILE CAR
SUM CNT.MODEL
PCT.CNT.MODEL
BY MODEL
ACROSS COUNTRY ACROSS-TOTAL
ON TABLE COLUMN-TOTAL AS 'TOTAL'
END
How can I remove the ACROSS-TOTAL of the PCT.CNT.MODEL column? In other words, I only want to show the % totals for each across value but not show it in the totals. Thanks for the help.
DJThis message has been edited. Last edited by: DJ,
WebFOCUS 7.6.8 zOS 1.9 (Mainframe) Excel, PDF, HTML, Active HTML
August 19, 2009, 06:21 PM
Doug
That's a good question... Can you get away with "hiding it"? That would be to change the color to white, as follows:
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF,$
TYPE=TITLE, COLUMN=N15, COLOR=WHITE,$
TYPE=DATA, COLUMN=N15, COLOR=WHITE,$
ENDSTYLE
I hardly believe that I'm suggesting that method. But, I don't know of a way to add a list of fields to the ROW-TOTAL the way you can to SUBTOTAL... So, if it works... Go for it...
I'm hoping that there's a beter solution then this...
August 20, 2009, 03:41 AM
GamP
TABLE FILE CAR
SUM CNT.MODEL NOPRINT
BY MODEL
SUM CNT.MODEL
PCT.CNT.MODEL
BY MODEL
ACROSS COUNTRY
COMPUTE TOTAL/I5 = C1;
ON TABLE COLUMN-TOTAL AS 'TOTAL'
END
This would do the trick. Only thing is that the column title of the TOTAL filed. It is placed on the same level as the across field, which may not be the intended place.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
August 20, 2009, 09:55 AM
DJ
Doug, I am not too keen on having to hide things (as I'm sure you are not either ), but I do appreciate the effort. It was certainly better than anything I could have come up with.
GamP, your solution is a solid one and I see what you mean about the column title. But, really, isn't that where it should belong? I have implemented this into my report.
Thanks so much for both of your help!
DJ
WebFOCUS 7.6.8 zOS 1.9 (Mainframe) Excel, PDF, HTML, Active HTML