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] Need Help Formatting SUM Title in ACROSS Table

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Need Help Formatting SUM Title in ACROSS Table
 Login/Join
 
Platinum Member
posted
Hello,

I am having trouble formatting only the SUM columns in an ACROSS Table.



 TABLE FILE PREV_YEAR
SUM
	COLVAL
ACROSS LOWEST DATECALENDARKEY_YEAR_M
BY CATEGORY
BY MEASUREFULLNAME
TYPE=TITLE,
     COLUMN=MEASUREFULLNAME,
     BACKCOLOR=RGB(247 150 70),
$
 


What I want to do is fill in the white space that is next to Category and Measurefullname in the title bar. Not sure if my Picture will show up but if it doesn't here's an example of my table

                         
                            ----------------- ----------------- -----------------
                            DATECALENDARKEY | DATECALENDARKEY | DATECALENDARKEY |
--------- ----------------  ---------------- ----------------  ---------------- |
CATEGORY | MEASUREFULLNAME |     COLVAL     |    COLVAL       |     COLVAL      |
--------- ---------------- |----------------|-----------------|-----------------|
Category | Measure         |      12        |    21           |         23      |
--------- ----------------- ----------------|-----------------|-----------------|
Category | Measure         |      12        |    21           |         23      |
--------- ----------------- ----------------|-----------------|-----------------|      
Category | Measure         |      12        |    21           |         23      |
--------- ----------------- ----------------|-----------------|-----------------|      
Category | Measure         |      12        |    21           |         23      |
--------- ----------------- ----------------|-----------------|-----------------|      
Category | Measure         |      12        |    21           |         23      |
--------- ----------------- ----------------|-----------------|-----------------|      
Category | Measure         |      12        |    21           |         23      |
--------- ----------------- ----------------|-----------------|-----------------|       



I want to be able to conditionally fill in the COLVAL column headers without formatting the CATEGORY or MEASUREFULLNAME BY fields. Does anyone have any idea how to do this? I'm at a loss of what to do here. I have a feeling I need to use a different object reference in my TYPE = TITLE statement but not sure what to do here. I have tried ACROSSVALUE and ACROSSTITLE and neither of those have given me the results that I want.

Thanks in advance!!

This message has been edited. Last edited by: Brandon Andrathy,


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Virtuoso
posted Hide Post
Is this something such as this that you are looking for ?
SET ACRSVRBTITL = ON
TABLE FILE CAR
SUM RETAIL_COST AS ''
BY COUNTRY
BY CAR
ACROSS MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
TYPE=TITLE,
     COLUMN=RETAIL_COST(*),
     BACKCOLOR=RGB(247 150 70),
$
ENDSTYLE
END
-RUN


Also, when posting sample result, use the code tag. It will help to have your sample aligned as you wish


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
Hey Martin,

Thanks for your response. Fixed my sample result.

So when I type in

quote:

TYPE=TITLE,
COLUMN=RETAIL_COST(*),
BACKCOLOR=RGB(247 150 70),
$


The title bar still doesn't fill in. Is this a bug? If I don't have a Column value specified at all, the title bar fills in across the application.

Curious if it's because I have a table with the MORE function. I'm on 8201 right now.


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report This Post
Platinum Member
posted Hide Post
Oh wait!

Once I put

quote:
ON TABLE SET ACRSVRBTITL ON


in the table instead of having it as a global SET, it worked!!

Thanks Martin! Appreciate it.


WebFOCUS 8204
 
Posts: 152 | Registered: July 10, 2018Report 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] Need Help Formatting SUM Title in ACROSS Table

Copyright © 1996-2020 Information Builders