Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]how can we find the last column of the report when i`m doing across

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]how can we find the last column of the report when i`m doing across
 Login/Join
 
Platinum Member
posted
Hi,
I would like to customize styling for the last column, as this is row totals on across and using over
here is my code
 TABLE FILE SQLOUT
SUM
GT99/I5 AS '' OVER
90TO99/I5 AS '' OVER
80TO89/I5 AS '' OVER
70TO79/I5 AS '' OVER
LT70/I5 AS '' OVER
NA/I5 AS ''
ACROSS PID AS ''
ACROSS-TOTAL AS '&REPORT_TO'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET PAGE NOPAGE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
	PAGESIZE='Letter',
	ORIENTATION=LANDSCAPE,
	LEFTMARGIN=0.3,
	WRAP=OFF,
$

TYPE=ACROSSVALUE,COLUMN='&REPORT_TO',BY=SPKADET,FONT='ARIAL',BACKCOLOR='RED',STYLE=BOLD,$


 


Please let me know how to customize my last column as this column is row totals

This message has been edited. Last edited by: Krishna.edara,


WebFocus-8/Windows/HTML, PDF, EXCEL
 
Posts: 106 | Registered: September 20, 2010Report This Post
Expert
posted Hide Post
In WebFOCUS 8.0.08, I feel the documentation is very vague about styling the ACROSS-TOTAL component. I cannot find any details.

Changing the code from ACROSS-TOTAL to ROW-TOTAL allows for this:

TABLE FILE CAR
SUM
SALES AS '' OVER
WEIGHT AS '' OVER
LENGTH AS '' OVER
HEIGHT AS ''
ACROSS COUNTRY AS ''
-*ACROSS-TOTAL AS 'ACROSS TOTAL'
ON TABLE ROW-TOTAL AS 'ROW TOTAL'
ON TABLE SET STYLE *
TYPE=DATA,COLUMN=ROWTOTAL(*),COLOR=GREEN,
ENDSTYLE
END


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Thank you Francis,
It worked half way, can I change the Column heading color for total also ?

Thanks,


WebFocus-8/Windows/HTML, PDF, EXCEL
 
Posts: 106 | Registered: September 20, 2010Report This Post
Expert
posted Hide Post
I think it should be the following, but it doesn't work:
TYPE=TITLE, COLUMN=ROWTOTAL, COLOR=BLUE, $


This does work:
TYPE=REPORT, COLUMN=ROWTOTAL, COLOR=BLUE, $
but it also affects the row total value for the first row.

When used in conjunction with the data styling, it works:
TYPE=REPORT, COLUMN=ROWTOTAL, COLOR=BLUE,$
TYPE=DATA, COLUMN=ROWTOTAL(*), COLOR=GREEN, $


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Thanks Francis,

It worked the way I want.

Thanks.


WebFocus-8/Windows/HTML, PDF, EXCEL
 
Posts: 106 | Registered: September 20, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]how can we find the last column of the report when i`m doing across

Copyright © 1996-2020 Information Builders