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] Simple Avg and sum totals on same total line?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Simple Avg and sum totals on same total line?
 Login/Join
 
Platinum Member
posted
I've search the forum and couldn't find anything which will allow me to have avgs and totals on same total line. Is this possible?
Thanks..sample code
TABLE FILE SQLOUT
SUM 
     UnplannedAbs
     FT
     PT
BY  LOWEST FirstDayWeek NOPRINT 
BY  LOWEST IMPORT_DATE NOPRINT 
BY  Month_Year
BY  DayName
BY  DayNo
ON TABLE SET PAGE-NUM NOLEAD 
ON TABLE SUMMARIZE UnplannedAbs FT PT AS 'TOTAL'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = endeflt,
$
TYPE=REPORT,
     COLUMN=N3,
     WRAP=6.000000,
$
ENDSTYLE
END  

This message has been edited. Last edited by: JOE,


WebFocus 7.7.02 WinXP
 
Posts: 236 | Registered: May 12, 2006Report This Post
Master
posted Hide Post
If I understand your question correctly all you have to do is define a new field equal to the one you are totalling on and use that one for the average. When you use SUMMARIZE the totals will be in one column and the average for the field will be in another.


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Platinum Member
posted Hide Post
We found a fix. You can have ave and sum in same summarize line however; you need to add a space after the prefix

 ON TABLE SUMMARIZE AVE. FT PT TotHeads FTE SUM. SCH_Hour Tardy NoContact Term..ect


WebFocus 7.7.02 WinXP
 
Posts: 236 | Registered: May 12, 2006Report 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] Simple Avg and sum totals on same total line?

Copyright © 1996-2020 Information Builders