Focal Point
[CLOSED] Need Column title and subtotal, but not row detail

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

August 21, 2009, 04:14 PM
MO Admin
[CLOSED] Need Column title and subtotal, but not row detail
I am trying to colapse a report so that all I see is the column title at the top, with only a named subtotal line under it. I do not want to see the data that the subtotal is made out of.

If I make it NOPRINT, I do not get the column title. When I NOPRINT both the discription and the $ fields, the report does not display at all.

Is there something I'm missing or not doing correctly?

Thanks,

This message has been edited. Last edited by: Kerry,


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
August 21, 2009, 04:25 PM
GinnyJakes
Could you post a sample of what you want? It sounds like you just want to do a SUM and a BY. I'm not sure why you need the subtotal.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
August 21, 2009, 04:26 PM
GCohen
How about using a SubTotal with a prefix for the subtotal value of ST.field e.g.
SUM AMOUNT
BY BYFIELD NOPRINT
ON BYFIELD SUBHEAD
" Value for Amount


Release 7.6.9
Windows
HTML
August 21, 2009, 04:28 PM
GCohen
The subtotal line is truncated.. should be
" Value is


Release 7.6.9
Windows
HTML
August 21, 2009, 04:46 PM
MO Admin
I changed the report a bit. Now I am not subtotaling, just summing the $ across fiscal years. My code:

TABLE FILE REPORTREADY1
SUM
MONEY21/D15.2C!D AS ''
-*BY RANK NOPRINT
-*BY BLANK AS 'TOTAL INVOLUNTARY COLLECTIONS'
ACROSS HIGHEST FISCAL AS ''

This put fiscal year as the column title (across), and each years total under it. My problm now is I need a column before it with a column title and that I can put in my own text for the row.


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
August 21, 2009, 04:55 PM
GinnyJakes
Can you use a DEFINE or COMPUTE. Remember if you use COMPUTE and you want to sort it, use BY TOTAL.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
August 21, 2009, 05:11 PM
MO Admin
How so?


Kevin
______________________
Production: WebFocus 7.6.11 on Win2K3 Server
Test: WebFocus 7.6.11 on Win2K3 Server
Formats: Excel2K, PDF, HTML
August 24, 2009, 04:36 AM
Danny-SRL
Kevin,

Using the CAR file, could this be what you want?
  
-* File Kevin1.fex
SET ASNAMES=ON
DEFINE FILE CAR
KEVIN/A30='My own text for the row';
FYEAR/I4=2000 + SEATS;
END
TABLE FILE CAR
SUM KEVIN AS 'MYTITLE'
SUM SALES AS ' '
ACROSS FYEAR
ON TABLE SET HTMLCSS ON
ON TABLE HOLD
END
TABLE FILE HOLD
PRINT *
END



Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF