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.
What I'm trying to do is create a subtotal row but I'm using MAX. in the table call and the subtotal row is adding up all the values in that field. What I want to see is just the MAX of that field in the subtotal.
I have tried RECAP but this does not work since it makes the report too long. I was also thinking of appending a table to the report that has the summaried results but there has to be a better way then doing this. Any ideas or help would be great.
Here is a sample of what I'm doing:
TABLE FILE table1 SUM field1 MAX.field2
COMPUTE field3/D7.2 = field1 * MAX.field2;
BY field4 BY field5
END
Posts: 406 | Location: Canada | Registered: May 31, 2004
I don't know why RECAP would make the report any bigger. This should work.
TABLE FILE CAR SUM MAX.DCOST NOPRINT BY COUNTRY SUM RCOST MAX.DCOST COMPUTE DIFF/D8 = RCOST - MAX.DCOST; BY COUNTRY ON COUNTRY RECAP MAXD/D6 = C1;NOPRINT ON COUNTRY SUBFOOT "" BY CAR END
WFUSER's reply is correct except the easiest way to display the value.. is .. ON COUNTRY RECAP MAXD=C1 ; ON COUNTRY SUBFOOT " MAX IS The RECAP when displayed in a SUBFOOT automatically supresses itsdefault display.