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] Flumoxed by SUBTOTAL

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Flumoxed by SUBTOTAL
 Login/Join
 
Expert
posted
I would like different columns subtotalled for different BY fields, but it doesn't work. Please see this example, where for COUNTRY, I only want SALES subtotalled and for CAR I want SALES and WEIGHT subtotalled.

The specified list of fields for COUNTRY are overridden by the specified list of fields for CAR.

TABLE FILE CAR
SUM
SALES
WEIGHT
HEIGHT
BY COUNTRY SUBTOTAL SALES AS 'TOTAL COUNTRY - '
BY CAR SUBTOTAL SALES WEIGHT AS 'TOTAL CAR - '
END

This message has been edited. Last edited by: Francis Mariani,


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'd keep the totals in defined fields, or COMPUTE ... NOPRINT, and use them in "ON {FIELD} SUBFOOT". Wouldn't that work here?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
Thanks, but I sure wish we didn't have to rely on the old SUBFOOT solution. The manual does not state that what I want to do does not 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
Expert
posted Hide Post
Things aren't always as they seem... Especially considering Technicalities. Frowner Maybe in WF8?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
I think the questions is "should it work", and if so, techsupport needs to know that it doesn't.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
SET SUMMARYLINES = EXPLICIT
TABLE FILE CAR
SUM
 SALES
 WEIGHT
 HEIGHT
BY COUNTRY SUBTOTAL SALES AS 'TOTAL COUNTRY - '
BY CAR SUBTOTAL SALES WEIGHT AS 'TOTAL CAR - '
END


It's in the documentation for the SUMMARYLINES parameter. The default puts fields in any subtotal into all subtotals.


WebFOCUS 7.6.7
Linux
HTML, Excel, PDF
 
Posts: 11 | Registered: February 19, 2009Report This Post
Expert
posted Hide Post
Awesome.

Seems this came in, in version 5.32


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Nick,
Nice going for your FIRST post. Congratulations.
If I may add:
The SUMMARYLINES setting does not work within a TABLE command.
Default is OLD; and there are 2 other values, NEW and EXPLICIT, that differ in the way they propagate to higher levels and to grand totals.

Yes, Waz, quite useful...


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Virtuoso
posted Hide Post
Learn something new all the time.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
Nick, thanks for that! We're always learning.
Is it a tossup between NEW and EXPLICIT? I'll test this.

Cheers,


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
hmmm .... the puzzle becomes... 'who is Nick Hilt'? sounds like a movie title..




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
Silver Member
posted Hide Post
holy smokes. This is the awesome. Thanks, Nick.


WF: WebFocus 7.7.03
Data: Oracle, MSSQL, DB2
OS: Windows
Output: HTML/AHTML,PDF,EXL2K FORMULA, COMT
 
Posts: 43 | Registered: November 21, 2011Report This Post
Expert
posted Hide Post
Yup, EXPLICIT does the job.


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
  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] Flumoxed by SUBTOTAL

Copyright © 1996-2020 Information Builders