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.
TABLE FILE CAR
SUM
SALES
BY COUNTRY
ACROSS CAR
ACROSS MODEL
ACROSS-TOTAL
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=ACROSSVALUE,
STYLE=BOLD,
$
TYPE=ACROSSVALUE,
COLUMN=ROWTOTAL(1),
$
ENDSTYLE
END
I would like to see this across subtotal in an other color (or bold)
This must be possible but how? ACROSS MODEL ACROSS-TOTALThis message has been edited. Last edited by: Kerry,
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
TABLE FILE CAR SUM SALES BY COUNTRY ACROSS CAR ACROSS MODEL ON TABLE ROW-TOTAL ON TABLE NOTOTAL ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='TIMES NEW ROMAN', SIZE=10, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $ TYPE=DATA, ACROSSCOLUMN=N1, COLOR='BLACK', $ TYPE=ACROSSVALUE, COLUMN=ROWTOTAL(1), COLOR = RED,$ TYPE = DATA, COLUMN=ROWTOTAL(1), COLOR=RED,$
TYPE=ACROSSVALUE, STYLE=BOLD, $ ENDSTYLE END
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
I think some programmer inadvertently forgot to program styling for ACROSS-TOTAL columns, so IB decided to stick an example in the documentation that really does not solve the problem.
I found several 4.3.6 programs from a long time ago that used
TYPE=ACROSSVALUE, COLUMN=ROWTOTAL(n) or TYPE=ACROSSVALUE, COLUMN=ROWTOTAL
Of course, I can't remember if that actually worked.
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
What LEAH did comes close tot the result, but as you might have noticed in my example there is a kind of "subtotal" in the across report for each "CAR".
Exactly that column is what I want to pay attention to by coloring it.
If you run this one, you may see what I mean
TABLE FILE CAR
SUM
SALES
BY COUNTRY
ACROSS CAR
ACROSS MODEL
ACROSS-TOTAL
ON TABLE ROW-TOTAL
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
COLOR='BLACK',
$
TYPE=ACROSSVALUE, COLUMN=N5, COLOR = RED,$
TYPE = DATA, COLUMN=N5, COLOR=RED,$
TYPE=ACROSSVALUE,
STYLE=BOLD,
$
ENDSTYLE
END
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
The Styling does work if you have an ACROSS With a ROW-TOTAL - I have several of those..but it does not seem to recognize ACROSS-TOTAL in styling...yes someone forgot something somewhere.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
THANKS to everyone in this thread.. re: ACROSS CONDITIONAL STYLING (for future hunters) just what i needed tonight.
here's what does the col title TYPE=ACROSSVALUE,COLUMN=ROWTOTAL,BACKCOLOR=SILVER,$ and this worked for the data TYPE=DATA,COLUMN=ROWTOTAL(&dtl_rt),COLOR=RED,WHEN=ROWTOTAL(&dtl_rt) LT 0,$ I created an &var (&dtl_rt) to figure out for me how many columns i was gunna have, (actual budget variance or just variance) so i could conditionally style code ONLY the variance rowtotal. Couldn't have done it without you guys!
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003