Focal Point
[SOLVED] How to Hide the row data

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

June 04, 2014, 10:32 AM
Jing grace
[SOLVED] How to Hide the row data
I have to create a summery report from a detail report. I can hide the colum I don't need, can I hide the row data so only the toal line will display?

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


WebFOCUS 7.6
Windows, All Outputs
June 04, 2014, 11:41 AM
vaayu
You could always SUM and HOLD so it just displays one line as your totals.. or you could use the ACCORDION report to Expand rows etc.,

Hope it helps!


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
June 04, 2014, 12:49 PM
J
Or you could just sum the report and exclude the totals row:
TABLE FILE CAR
SUM 
     CAR.BODY.SALES AS 'TOTAL SALES'
ON TABLE PCHOLD FORMAT HTML
END



WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
June 04, 2014, 01:47 PM
Jing grace
I got it. thanks
another questions, can I apply the traffic light on grand total? I can do it on subtotal, but not on the grand total.


WebFOCUS 7.6
Windows, All Outputs
June 04, 2014, 02:15 PM
J
In InfoAssist I am not sure. In Dev Studio you can always do conditional styling...


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
June 04, 2014, 02:58 PM
Jing grace
I used below code to add traffic light for subtotal, it worked well. but grand total is done on table summerize, I don't know how to apply the traffic light for grand total. I tried change the type to total, it won't work.

thank you for your help!

TYPE=SUBTOTAL,
BY=1,
COLUMN=N7,
COLOR='BLACK',
BACKCOLOR='GREEN',
WHEN=N7 LE .189,
$
TYPE=SUBTOTAL,
BY=1,
COLUMN=N7,
COLOR='BLACK',
BACKCOLOR='RED',
WHEN=N7 GT .220,
$


WebFOCUS 7.6
Windows, All Outputs
June 04, 2014, 03:04 PM
Francis Mariani
TYPE=GRANDTOTAL,...



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
June 04, 2014, 03:21 PM
Jing grace
I tried, it did not work.
below is my grand total code. I don't think grand total is defined webfocus word.

ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SUMMARIZE AS 'GRAND TOTAL'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *

more ideas? thank you!


WebFOCUS 7.6
Windows, All Outputs
June 04, 2014, 03:38 PM
Jing grace
I took it back. it is working.
thanks you Francis!


WebFOCUS 7.6
Windows, All Outputs