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     Subtotals with count and averages

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subtotals with count and averages
 Login/Join
 
Silver Member
posted
I'm trying to do a report as below.
Region CNT1 CNT2
A 15 10
25 50
--------------------------
Count 2 Avg 20 30
--------------------------
B 15 20
25 50
35 50
--------------------------
Count 3 Avg 25 40
--------------------------
I looked into RECAP and SUBTOTALS,but I am not the desired results. Any ideas ?

Thanks !
 
Posts: 30 | Registered: September 21, 2004Report This Post
Platinum Member
posted Hide Post
Here is one way.

TABLE FILE X
SUM
AVE.CNT1 NOPRINT
AVE.CNT2 NOPRINT
BY REGION
PRINT
CNT1
CNT2
BY REGION
ON REGION SUBFOOT
"--------------------------------------------"
"Count <ST.CNT.CNT1 Avg <AVE.CNT1 <AVE.CNT2"
"--------------------------------------------"
END
 
Posts: 135 | Location: Portland, OR | Registered: March 23, 2005Report This Post
Gold member
posted Hide Post
Another cool new feature (FOCUS release 7.3 and WF release 5.2.x) is to use prefixes in your subtotal. It will average what was summed. So,
 
Posts: 60 | Location: 2 penn | Registered: May 22, 2003Report This Post
Gold member
posted Hide Post
Sorry, I pressed ENTER too soon:TABLE FILE fn
PRINT CNT1 CNT2
BY REGION
ON REGION SUBTOTAL AVE. CNT1 AVE. CNT2
END Note the space after the AVE.
 
Posts: 60 | Location: 2 penn | Registered: May 22, 2003Report 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     Subtotals with count and averages

Copyright © 1996-2020 Information Builders