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.
FIELD1 FIELD2 TOTAL NET
L001 AA 132 2
L001 BB 275 3
L001 CC 582 6
L002 AA 110 1
L002 BB 29 1
In the report, I am rolling up FIELD1. My TOTAL and NET are coming out right, but the RATE (defined by NET/TOTAL in the report) is all wrong. What it is doing is taking the rolled up NET and dividing it by the last TOTAL for FIELD1. How can I make it compute RATE using both rolled up fields?
FIELD1 TOTAL NET RATE
L001 989 11 1.89% <--- should be 1.11%
L002 139 2 6.90% <--- should be 1.44%
I also need to make sure column totals compute the RATE correctly as well. Right now, it is simple adding up all of the rates. Thanks.This message has been edited. Last edited by: DJ,
WebFOCUS 7.6.8 zOS 1.9 (Mainframe) Excel, PDF, HTML, Active HTML
I haven't tested this but try: COMPUTE RATE/D5.2=SUM.NET / SUM.TOTAL; If that doesn't work, try COMPUTE RATE/D5.2=ST.NET / ST.TOTAL; Either way you will need a BY on Field1
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
I apologize for my stupid follow-up question. I have figured it out and the COMPUTE statement works perfectly. Thank you for your patience and your help.
WebFOCUS 7.6.8 zOS 1.9 (Mainframe) Excel, PDF, HTML, Active HTML