Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Getting Subtotals for a computed Across field to RECOMPUTE

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Getting Subtotals for a computed Across field to RECOMPUTE
 Login/Join
 
Gold member
posted
I am trying to do a RECOMPUTE on a Subtotal Line for columns (with percent values) in an Across field.
The values are not being recalculated, just adding together. Usually, the RECOMPUTE statement fixes this, but not in this case.
The row percents are computed fields, adding a few fields together, then dividing by another field.

Any ideas, how to get the Subtotal line to RECOMPUTE? I am using the MRE.

Current Code:
DEFINE FILE ...<br />PERC_TOT/I11= COUNT1 + COUNT2 + COUNT3;<br />HEAD_MONTH/I2MT= FISCAL_MONTH;<br />END<br />TABLE FILE ...<br />HEADING CENTER<br />...<br />SUM COMPUTE ORDER_PERC/I10%= PERC_TOT/ORDER_COUNT_TOTAL * 100; AS ''<br />BY PH_GROUP_NAME AS 'Group'<br />SUBTOTAL RECOMPUTE BY PARTNER_TYPE AS 'Type'<br />...<br />ACROSS FISCAL_YEAR AS 'FY'<br />ACROSS HEAD_MONTH AS 'Month'
Current Output:
                               2004     2005<br />                                JUN  JAN  JUL<br />Group                     Type<br />ACME GROUP - N.A.            A   43%  46%  44%<br />                             B   28%  31%  30%<br />                             C   29%  37%  28%<br />*TOTAL ACME GROUP - N.A.        100% 114% 102%
Thank you for any help in advance!
 
Posts: 57 | Registered: February 24, 2004Report This Post
Virtuoso
posted Hide Post
Have you tried SUMMARIZE instead, sometimes that is a better option than RECOMPUTE.
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
It worked! I tried RECAP, RECOMPUTE, etc, but not SUMMARIZE.

It was just that easy?!

Thank You!
 
Posts: 57 | Registered: February 24, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Getting Subtotals for a computed Across field to RECOMPUTE

Copyright © 1996-2020 Information Builders