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.
Can any buddy tell me that how to do ranking on Subtotal.I mean Subtotal is not a field so how can I pass the value of Subtotal to the last parameter of Ranking.
SET ASNAMES=ON TABLE FILE CAR SUM RETAIL_COST AS 'SUBTOT' BY COUNTRY ON TABLE HOLD AS CARHOLD FORMAT FOCUS INDEX COUNTRY END JOIN COUNTRY IN CAR TO COUNTRY IN CARHOLD
TABLE FILE CAR SUM RETAIL_COST DEALER_COST RANKED BY HIGHEST SUBTOT NOPRINT BY COUNTRY SUBTOTAL BY CAR ON TABLE PCHOLD FORMAT PDF END
Do you want to 'rank' the countries, or just order them?
Ranked, in a single table request:
DEFINE FILE CAR TRCOST/D6=RETAIL_COST; END TABLE FILE CAR SUM TRCOST WITHIN COUNTRY NOPRINT RETAIL_COST RANKED BY HIGHEST TOTAL TRCOST NOPRINT BY COUNTRY SUBTOTAL PAGE-BREAK BY CAR BY MODEL ENDThis message has been edited. Last edited by: <Mabel>,
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Actually I have three fields categoryname, country and lineitemtotal, So I want to subtotal by Categoryname and pass the subtotal's value to the ranking, which display the report like category wise all the countries and LineItemTotal and at end of each category it will show subtotal.