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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subtotal styling
 Login/Join
 
Virtuoso
posted
I have a Report that is supposed to be summed across months...and if the amount is LT 0 make it Red. I have the amounts working in the content of the report and in the row totals...but in the subtotal...no matter what the first amount is...it remains that color.
If it is positive...they will all be Black..if it is negitive all Red. Here's the code...and I've tried every variation, including naming the columns=n1 n2 ...but the Subtotal is not behaving.
TABLE FILE HADIT
SUM
AMT AS ' '

BY AREA NOPRINT
BY AREAM AS ' ' SUBTOTAL
BY
STAKA AS 'UNIT'
ACROSS
MTHYR AS ' ' AND ROW-TOTAL

ON TABLE SET STYLE *


TYPE=DATA,COLOR='RED',ACROSSCOLUMN=N1,WHEN=AMT LT 0, $

TYPE=DATA,COLUMN=ROWTOTAL(*),COLOR='RED',WHEN=ROWTOTAL LT 0,$

TYPE=SUBTOTAL,COLUMN=AMT(*),COLOR='RED',WHEN=AMT LT 0,$


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Master
posted Hide Post
try this,

TYPE=SUBTOTAL, BY=AREAM, COLOR=RED,WHEN=AMT LT 0,$


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Virtuoso
posted Hide Post
Ohhhh...That sounded real promising...but no..still colors on what the first amount is...I'm sure it's the across that is doing this...


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
Well I thought I had tried this..but this works
TYPE=SUBTOTAL, COLOR=RED,ACROSSCOLUMN=N1, WHEN=AMT LT 0,$


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders