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] ACROSS-TOTAL styling

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] ACROSS-TOTAL styling
 Login/Join
 
Gold member
posted
Hi

how to apply styling on ACROSS-TOTAL , i want Backcolor on Total ,


I'm not able to apply color to "Total"
Please help me , this is sample code on car file

 SET ACROSSTITLE=SIDE
TABLE FILE CAR
SUM SEATS AS 'SEATS'
OVER RETAIL_COST AS 'RETAIL_COST'
OVER DEALER_COST  AS 'DEALER_COST'
ACROSS COUNTRY AS 'Country name'
ACROSS-TOTAL
ON TABLE SET PAGE NOLEAD
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
$
TYPE=GRANDTOTAL,
BACKCOLOR=YELLOW,
STYLE=BOLD,
$
ENDSTYLE
END
 

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8202
 
Posts: 61 | Location: India | Registered: March 24, 2014Report This Post
Expert
posted Hide Post
Count the columns and cells, when using OVER:
  
SET ACROSSTITLE=SIDE
TABLE FILE CAR
SUM SEATS AS 'SEATS'
OVER RETAIL_COST AS 'RETAIL_COST'
OVER DEALER_COST  AS 'DEALER_COST'
ACROSS COUNTRY AS 'Country name'
ACROSS-TOTAL
ON TABLE SET PAGE NOLEAD
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=ACROSSVALUE, COLUMN=N16, STYLE=BOLD, BACKCOLOR=YELLOW, $ 
ENDSTYLE
END
-EXIT


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Gold member
posted Hide Post
How to identify column=N16

In my report values are dynamic value(ACROSS values )

Row values is : 14(dynamic value)
column values :57 (Column Title) is default

SET ACROSSTITLE=SIDE
TABLE FILE CAR
SUM SEATS AS 'SEATS'
OVER RETAIL_COST AS 'RETAIL_COST'
OVER DEALER_COST AS 'DEALER_COST'
ACROSS COUNTRY AS 'Country name'
ACROSS-TOTAL
ON TABLE SET PAGE NOLEAD
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=ACROSSVALUE, COLUMN=N16, STYLE=BOLD, BACKCOLOR=YELLOW, $
TYPE=DATA, COLUMN=N16, STYLE=BOLD, BACKCOLOR=YELLOW, $
TYPE=DATA, COLUMN=N17, STYLE=BOLD, BACKCOLOR=YELLOW, $
TYPE=DATA, COLUMN=N18, STYLE=BOLD, BACKCOLOR=YELLOW, $
ENDSTYLE
END


WebFOCUS 8202
 
Posts: 61 | Location: India | Registered: March 24, 2014Report This Post
Expert
posted Hide Post
1. Open the manual, it's very helpful and enlightening!
2. Use ROW-TOTAL instead of ACROSS-TOTAL
  
SET ACROSSTITLE=SIDE
TABLE FILE CAR
SUM SEATS AS 'SEATS'
OVER RETAIL_COST AS 'RETAIL_COST'
OVER DEALER_COST  AS 'DEALER_COST'
ACROSS COUNTRY AS 'Country name'
ROW-TOTAL
ON TABLE SET PAGE NOLEAD
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=ACROSSVALUE, COLUMN=ROWTOTAL(1), STYLE=BOLD, BACKCOLOR=YELLOW, $ 
TYPE=DATA, COLUMN=ROWTOTAL(*), STYLE=BOLD, BACKCOLOR=YELLOW, $ 
ENDSTYLE
END
-EXIT

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report 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] ACROSS-TOTAL styling

Copyright © 1996-2020 Information Builders