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 have report where output is EXL07 FORMULA. The users generate the report in EXL07 FORMULA, then users input one of the fields and it calculates another field. After the spreadsheet generates, users want to be able to play with the numbers where totals automatically recalc in spreadsheet - this is after report is generated. I am trying to find a way to get a couple of columns to sum and another to recompute on the same row.
For example, the first column (COL1) gives a subtotal when report is generated. The second column (COL2) is a field user inputs after generation which automatically calcs the third column. I need the AVG_CHG column to take the subtotals for COL1 and COL3 (not the formula) and do a calc.. I can only get entire row to either SUBTOTAL all columns or RECOMPUTE all columns.
TABLE FILE ALL_DATA SUM FIELD1 FIELD2 COMPUTE COL1/D14.2M = FIELD1 * FIELD2; COL2 (this field generates blank and user inputs to calculate COL3 COMPUTE COL3/D14.2M = FIELD1 * COL2; COMPUTE AVG_CHG/D12.2% = ((COL3-COL1)/COL1); BY SORT -*I need subtotals for below adding the totals in columns ON SORT SUBTOTAL COL1 COL3 -*I need AVG_CHG column to be a formula taking subtotals of COL1 and COL3, not using the formulas for COL1 AND COL3 ON SORT RECOMPUTE AVG_CHG ON TABLE PCHOLD FORMAT EXL07 FORMULA END -EXIT
Any help is appreciatedThis message has been edited. Last edited by: FP Mod Chuck,
If my understanding is good, here is the solution:
TABLE FILE CAR
SUM RETAIL_COST NOPRINT
DEALER_COST NOPRINT
COMPUTE NRETAIL /P8.2C = RETAIL_COST / 4; AS 'RETAIL_COST'
COMPUTE NDEALLER /P8.2C = DEALER_COST / 100; AS 'DEALER_COST'
COMPUTE AVG /P6.2% = (RETAIL_COST - DEALER_COST) / RETAIL_COST * 100;
BY COUNTRY
ON COUNTRY SUMMARIZE
END
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013