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     [CLOSED] Across total make up

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Across total make up
 Login/Join
 
Virtuoso
posted
I have this report

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-TOTAL

This 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, 2006Report This Post
Expert
posted Hide Post
I've scanned all my code and it looks like it should be

TYPE=ACROSSVALUE, COLUMN=ROWTOTAL(n)

but I can't make this work.


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
Virtuoso
posted Hide Post
Yes I thought that too, but could not make it work....


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
quote:
TYPE=ACROSSVALUE, COLUMN=ROWTOTAL(n)


Is this what you want??

quote:
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, 2004Report This Post
Expert
posted Hide Post
Leah,

Shouldn't there should be a way to style an ACROSS-TOTAL?


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
Expert
posted Hide Post
I played around with this in 762 and I couldn't make it work either.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
According to the documentation, you can style an ACROSS-TOTAL by the numeric column reference, which is completely ridiculous as you may not know how many ACROSS values you have.
Example: Identifying Row Totals (ACROSS-TOTAL) for Horizontal Sort Data
TYPE=ACROSSVALUE, COLUMN=N8, STYLE=ITALIC, COLOR='RED', $


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
Expert
posted Hide Post
Frank,

You may have to rely upon FML, FRL, EMR or what ever it is called nowadays Frowner

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
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, 2006Report This Post
Virtuoso
posted Hide Post
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, 2005Report This Post
Expert
posted Hide Post
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, 2003Report This Post
Expert
posted Hide Post
quote:
THANKS to everyone in this thread...
This is just what I needed today but forgot sometime before that Wink.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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     [CLOSED] Across total make up

Copyright © 1996-2020 Information Builders