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.
I'm new to Webfocus, and could really use your help. I'm creating a report where I have to calculate a consolidated interest rate- which I was finally able to do after using a series of RECAP statements where I calculate the weighted avg then round to the nearest .125
Loan A 18,000 6.8 Loan B 20,000 5.0 ___________________________ 38,000 **RECAP1 5.852 **RECAP2 47 **RECAP3 5.875
I need to be able to somehow store and use the RECAP 3 value in another report that will take the total (38k) and calculate monthly payment, total loan cost- etc using RECAP 3 as the interest rate.
Any help is INCREDIBLY appreciated.
Cheers.
Is this possible?This message has been edited. Last edited by: Kerry,
7.69/Windows/HTML or Excel
Posts: 2 | Location: United States | Registered: April 26, 2011
FILEDEF OUT DISK BASEAPP/OUT.DAT
DEFINE FILE CAR
CUR_YR/I5C=DEALER_COST;
LAST_YR/I5C=.87*CUR_YR - 142;
END
TABLE FILE CAR
SUM CUR_YR LAST_YR
FOR COUNTRY
ENGLAND LABEL AR POST TO OUT OVER
FRANCE LABEL INV POST TO OUT OVER
RECAP TOTCASH/I5C = R1 + R2; POST TO OUT AS 'TOTAL CASH'
END
Then follow with PICKUP
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Thanks for the responses! Here's my code... I'm so sorry if it's bad- I'm using the GUI.
The variable I really need to reference in my new report is STDCONSOL
When I make a new report- how do I reference and use it?
TABLE FILE FA
SUM COMPUTE interestrate/D12.2% = IF ITYFA_LOAN_PROGRAM EQ 'P' THEN 5.00 ELSE 6.80; AS 'Interest ,Rate' 'STAWD_ACCEPT_AMOUNT/D20CM' AS 'Total Principal Borrowed' COMPUTE CONSOLTOP/D12.2 = ( interestrate / 100 ) * STAWD_ACCEPT_AMOUNT; NOPRINT BY 'FA_STDNT_AWARDS_DIM.FA_STDNT_AWARDS_DIM.STAWD_EMPLID' NOPRINT BY ITYFA_LOAN_PROGRAM_LDESC AS 'Loan Program' BY ITYFA_ITEM_TYPE_LDESC AS 'Loan Type'