Focal Point
[CLOSED] Is there such a thing as a header for a subtotal

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1357035966

March 10, 2014, 03:19 PM
RobertF
[CLOSED] Is there such a thing as a header for a subtotal
So, I have a group field with one of two values: REVENUE OR EXPENSES.

I want to report the account detail and a total footer for each. But I'd also like a header prior to the detail...see below...

REVENUE:
.
.
detail
.
.
Revenue Total

EXPENSES
.
.
detail
.
.
EXPENSES Total


Is this possible?

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8206.08
Windows, All Outputs
March 10, 2014, 03:45 PM
RSquared
look up sub headings


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
March 11, 2014, 10:37 AM
Ian Dalton
You could also lookup WHEN......
For example....
ON GRPFLD SUBTOTAL xxxxx WHEN GRPFLD EQ 'Revenue';
ON GRPFLD SUBTOTAL xxxxx WHEN GRPFLD EQ 'Expenses';


_______________________
*** WebFOCUS 8.1.05M ***
March 11, 2014, 07:27 PM
RobertF
tried this...but it still does not print the country name, for example...in the sub heading...what am I missing...

TABLE FILE CAR
SUM
CAR.BODY.RETAIL_COST
BY LOWEST CAR.ORIGIN.COUNTRY NOPRINT
BY LOWEST CAR.COMP.CAR
BY LOWEST CAR.CARREC.MODEL
BY LOWEST CAR.BODY.BODYTYPE
BY LOWEST CAR.SPECS.LENGTH
BY LOWEST CAR.SPECS.WIDTH

ON CAR.ORIGIN.COUNTRY SUBHEAD
" "
ON CAR.ORIGIN.COUNTRY SUBTOTAL AS '*TOTAL'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE ROW-TOTAL AS 'TOTAL'
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *


WebFOCUS 8206.08
Windows, All Outputs
March 12, 2014, 01:23 AM
j.gross
quote:
what am I missing...


Just
ON CAR.ORIGIN.COUNTRY SUBHEAD
"<COUNTRY"