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.
I need to sort on a Sub total field. Eg We have a shortage column and after doing Sub total i am getting Total potential Shortage. Sorting needs to be done on the Total Potentail shortage Amount.This message has been edited. Last edited by: Kerry,
It will all becomes so much clearer to us if you provide us with an example of what you're looking for, along with the code you already have developed to get there. The description you provided is not really clear enough.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Not so fast. Adding the BY TOTAL HIGHEST statement only will sort the report based on the individual values of SALES, not the SUBTOTAL value of SALES. You need to do a bit more work.
Try this example:
TABLE FILE CAR SUM SALES NOPRINT BY TOTAL HIGHEST SALES NOPRINT BY CAR PRINT SALES SEATS BY TOTAL HIGHEST SALES NOPRINT BY CAR BY MODEL BY BODYTYPE ON CAR SUBTOTAL SALES SEATS AS 'TOTAL CAR' ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF, SQUEEZE=ON,$ TYPE=SUBTOTAL, BACKCOLOR=ORANGE,$ ENDSTYLE END
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
TABLE FILE CAR PRINT SUM.SALES WITHIN CAR NOPRINT SALES SEATS COMPUTE SUMSALES/D12=C1; NOPRINT BY TOTAL HIGHEST SUMSALES NOPRINT BY CAR BY MODEL BY BODYTYPE ON CAR SUBTOTAL SALES SEATS AS 'TOTAL CAR' ON TABLE SET STYLE * TYPE=REPORT, GRID=OFF, SQUEEZE=ON,$ TYPE=SUBTOTAL, BACKCOLOR=ORANGE,$ ENDSTYLE END
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
"To add this keyword to the subject title the member who began the thread should go to the very first post that they started the thread with and then edit it. The subject title may only be changed by editing the very first post in the thread."
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003