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] Subtotal and Grand Total in WebFOCUS Developer Studio

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Subtotal and Grand Total in WebFOCUS Developer Studio
 Login/Join
 
Member
posted
Can anyone tell me how to display subtotals and a Grand Total of a column, without displaying the data in the column being totaled? If Possible could you tell me how to do this using WebFOCUS Developer Studio.

Hope you can help, thank you.

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


Webfocus 7.6.5
Windows XP
Windows server 2003 sp2
 
Posts: 10 | Registered: October 14, 2008Report This Post
Expert
posted Hide Post
Do you have to display the detail of other columns?


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
Member
posted Hide Post
Hi Ginny

Yes, I do for example I am getting something like this:

region cntPeople names addresses
ne 555 Joe Somewhere
John Somewhereelse
Subtotal 555

se 333 Jane Nowhere
Sue Where

Subtotal 333

Grand Total 888

I want to eliminate the extra count value displayed by the first entry in each group.

Thanks.


Webfocus 7.6.5
Windows XP
Windows server 2003 sp2
 
Posts: 10 | Registered: October 14, 2008Report This Post
Member
posted Hide Post
Sorry, it did not keep the spacing in my sample and I don't know how to force it too.

In my count column the first entry in each group has the same count as the Subtotal and I don't want to display it. In fact since the initial count in each group is the only value displayed I would like to eliminate the column completely


Webfocus 7.6.5
Windows XP
Windows server 2003 sp2
 
Posts: 10 | Registered: October 14, 2008Report This Post
Expert
posted Hide Post
Here is a way. There are many others.
TABLE FILE EMPLOYEE
PRINT LAST_NAME FIRST_NAME 
COMPUTE EMP_CNT/I6=IF DEPARTMENT NE LAST DEPARTMENT THEN 1 ELSE
                   IF LAST_NAME NE LAST LAST_NAME THEN 1 ELSE EMP_CNT+1; NOPRINT
BY DEPARTMENT
BY EMP_ID NOPRINT
ON DEPARTMENT SUBFOOT 
"TOTAL EMPLOYEES FOR <DEPARTMENT <ST.EMP_CNT"
ON TABLE SUBFOOT
"TOTAL EMPLOYEES <ST.EMP_CNT"
END


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
Member
posted Hide Post
Thank you for the information!

However, can you tell me if there is any way to accomplish this using the GUI interface in Developer Studio instead of modifying the code directly?

Thanks,
Darrell


Webfocus 7.6.5
Windows XP
Windows server 2003 sp2
 
Posts: 10 | Registered: October 14, 2008Report This Post
Expert
posted Hide Post
I don't think there is anything in that code that can't be done with the GUI. Why don't you try to reproduce my sample with the Report Painter?


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
  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] Subtotal and Grand Total in WebFOCUS Developer Studio

Copyright © 1996-2020 Information Builders