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.
First things first, I love the new EXPANDBYROW accordian reports in WebFOCUS 7.7.02. Having said that, based on the documentation, "A SUB-TOTAL command is automatically added for the next-to-last BY field. Each level will be presented at the aggregated level, and the data values will represent the aggregation of the lowest level BY." I need to make the aggregation into a summarization rather than a summation.
I've tried "ON TABLE SUMMARIZE AS 'TOTAL'" but that didn't do anything. How can I fix this?
Note: I used "SET EXPANDBYROW=ON" instead of "ON TABLE SET EXPANDBYROW=ON". I didn't see a difference.This message has been edited. Last edited by: jjeanjaquet,
WebFOCUS 7.7.2: Windows 7: all output (Excel, HTML, PDF)
Accordion reports are designed as a turnkey feature that will automatically setup all the required subtotals and functionality with a single SET command. For situations where you want to use something other than a standard SUBTOTAL within your levels you can override the system generated definitions and designate your own SUBTOTAL structures.
The rows that open within the accordion are SUBTOTAL rows. So for the tree to function correctly each of your BY fields (except the last one) must have a defined SUBTOTAL row. To include SUBTOTAL rows with SUMMARIZED or RECOMPUTED values you can define your own SUBTOTAL rows. Once the server sees any SUBTOTAL lines defined it turns off the automatic SUBTOTAL generation and works only on what has been user defined. So as long as you define SUBTOTAL rows for each of your BY fields, except the last one, you should have a fully functional accordion tree to meet your current report requirements.
A basic example:
TABLE FILE CAR SUM RC DC COMPUTE TOTVAL/D14=RC*DC; BY COUNTRY BY CAR BY MODEL ON COUNTRY SUBTOTAL ON CAR RECOMPUTE ON TABLE SET HTMLCSS ON ON TABLE SET EXPANDBYROW ON END
Cheers, Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
Posts: 1948 | Location: New York | Registered: November 16, 2004
Good call Kerry, That does exactly what I wanted it to do. The overall subtotals initiated by the EXPANDBYROW are over-riden by the invididual: ON {BY COLUMN} RECOMPUTE AS 'TOTAL' As shown in the above example.
Thanks a bunch Kerry, Joe
WebFOCUS 7.7.2: Windows 7: all output (Excel, HTML, PDF)