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.
Is there some other condition associated with this task that doesn't get processed by clicking on the "Sum" tab and, perhaps, removing sort fields until you get to the level you want?
Jeff WebFOCUS 8.0.09, Unix-Win-z/OS FOCUS 7.3.1 on z/OS
I'm sorting BY a date field, and that is my only sort field. I tried to use SUM, but the results are not what I want. What I need out of this report is to show aggregated monthly totals for the data. The individual lines of data within each month are unwanted.
WebFOCUS 7.6.8 MS Windows XP
Posts: 15 | Location: Minneapolis | Registered: February 29, 2008
So, I'm guessing that the date field is MDYY format (mm/dd/yyyy). Try defining a new field with format MYY, assign it the original date field, and use that as your BY field.
Jeff WebFOCUS 8.0.09, Unix-Win-z/OS FOCUS 7.3.1 on z/OS
Thanks - I've actually done that already, which got me closer. I've got the subtotals I need, but now I want to get rid of the individual lines of data.
To clarify, I have a defined MYY date field being used as my lone BY field. I then have two numeric Detail columns, followed by a computed field (on the two numeric fields). I have subtotals at each change in the month, and I have a recompute on the subtotal.
WebFOCUS 7.6.8 MS Windows XP
Posts: 15 | Location: Minneapolis | Registered: February 29, 2008
You need to use SUM to eliminate the detail. I'm thinking that, with your only BY field being the MYY field, the subtotal line will be redundant.
Regarding the Compute/Recompute: If you want the Computed field to be summed in the report, make it a defined field. If you leave it as a computed field, it will be calculated based on the sums of the other two fields.
Jeff WebFOCUS 8.0.09, Unix-Win-z/OS FOCUS 7.3.1 on z/OS
ON NEWPOSTDATE RECOMPUTE AS '*TOTAL' WHERE POSTINGDATE GT '20070101'; WHERE DEBITAMOUNT NE .00; WHERE ( ACCOUNT IS '3$$-$$' ) OR ( ACCOUNT EQ '950-00' ); ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT,
WebFOCUS 7.6.8 MS Windows XP
Posts: 15 | Location: Minneapolis | Registered: February 29, 2008
TABLE FILE GL_DETAILPOSTING
-*PRINT
SUM
EMPLOYEES
REVENUE
COMPUTE REVPEREMP/D12.2 = REVENUE / EMPLOYEES;
BY NEWPOSTDATE
-*ON NEWPOSTDATE RECOMPUTE AS '*TOTAL'
WHERE POSTINGDATE GT '20070101';
WHERE DEBITAMOUNT NE .00;
WHERE ( ACCOUNT IS '3$$-$$' ) OR ( ACCOUNT EQ '950-00' );
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
this should do it.
In the GUI click on the SUM button for your fields EMPLOYEES REVENUE and REVPEREMP.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006