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.
Some calculations are supported, some are not. Maybe someone can verify which would work best for your report.
If you can used the prefix operators, great.
If not, the best way I found was to query the table and calculate the summary values before the report is created. I printed these calculated values as a sub footer (again, my situation was different but you may be abled to use a similar strategy.)
Sample code of my scenario below:
COMPUTE AGGCUSTDOWNLOAD_V.ACCOUNTS;
BY AGGCUSTDOWNLOAD_V.CUSTOMER.BUSUNIT_DISPLAY
ON TABLE HOLD AS REPORT_SUBTOTAL FORMAT ALPHA
END
TABLE FILE AEROTEKBI/BETA2/FINANCE/AGGCUSTDOWNLOAD_V
SUM
AGGCUSTDOWNLOAD_V.CUSTOMER.TOTALLOCALSPREADAMT
COMPUTE AGGCUSTDOWNLOAD_V.AVGHOURSAMT;
COMPUTE AGGCUSTDOWNLOAD_V.CONTRACTORS;
COMPUTE AGGCUSTDOWNLOAD_V.ACCOUNTS;
BY AGGCUSTDOWNLOAD_V.BUSUNIT_SORT
BY AGGCUSTDOWNLOAD_V.BUSUNIT_DISPLAY
BY AGGCUSTDOWNLOAD_V.DELIVERYOFFICE.REGIONNAME_DEFINE
ON TABLE HOLD AS COMPANYAGG FORMAT ALPHA
END
JOIN
LEFT_OUTER COMPANYAGG.COMPANYA.BUSUNIT_DISPLAY IN COMPANYAGG TAG COMPANYA
TO MULTIPLE REPORT_SUBTOTAL.REPORT_S.BUSUNIT_DISPLAY
IN REPORT_SUBTOTAL TAG RPT_SUBT AS SUBTOTAL
END
SUM
COMPANYA.TOTALLOCALSPREADAMT
COMPANYA.DIFFSPREADPW NOPRINT
COMPANYA.SPREADPW_CHANGE_ARROW_NUM
COMPANYA.AVGHOURSAMT
COMPANYA.AVGPWHOURSAMT NOPRINT
COMPANYA.DIFFAVGHOURSPW NOPRINT
COMPANYA.AVGHOURSPW_CHANGE_ARROW_NUM
COMPANYA.CONTRACTORS
COMPANYA.CONTRACTORSPW NOPRINT
COMPANYA.DIFFCONTRACTORPW NOPRINT
COMPANYA.CONTRSPW_CHANGE_ARROW_NUM
COMPANYA.ACCOUNTS
COMPANYA.ACCOUNTSPW NOPRINT
COMPANYA.DIFFACCOUNTSPW NOPRINT
COMPANYA.ACCTSPW_CHANGE_ARROW_NUM
BY COMPANYA.BUSUNIT_SORT NOPRINT
BY COMPANYA.BUSUNIT_DISPLAY
BY HIGHEST COMPANYA.TOTALLOCALSPREADAMT NOPRINT
BY COMPANYA.REGIONNAME_DEFINE AS '&&OFFICETYPE_REGION_TITLE'
ON COMPANYA.BUSUNIT_DISPLAY SUBFOOT
"Total Spread: <RPT_SUBT.TOTALLOCALSPREADAMT> | Avg Hours: <RPT_SUBT.AVGHOURSAMT> | Contr: <RPT_SUBT.CONTRACTORS> | Accts: <RPT_SUBT.ACCOUNTS>"
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
ENDSTYLE
END