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.
Given this simple example, is it possible to not show the detail (a sum) for CARCOUNT, but show the Total of CARCOUNT by COUNTRY or would this report have to be written a different way. This report is fine for all the other iterations I am doing, but for one particular request showing this information at a "detail" (sum) level will cause confusion.
DEFINE FILE CAR
CARCOUNT/I5 = 1;
END
TABLE FILE CAR
SUM CARCOUNT
SEATS
DEALER_COST
COMPUTE CostPerSeat/I6 = ( DEALER_COST / SEATS );
BY COUNTRY RECOMPUTE
BY MODEL
END
OUTPUT FROM ABOVE
COUNTRY MODEL CARCOUNT SEATS DEALER_COST CostPerSeat
ENGLAND INTERCEPTOR III 1 4 14,940 3735
TR7 1 2 4,292 2146
V12XKE AUTO 1 2 7,427 3713
XJ12L AUTO 1 5 11,194 2238
*TOTAL ENGLAND 4 13 37,853 2911
FRANCE 504 4 DOOR 1 5 4,631 926
*TOTAL FRANCE 1 5 4,631 926
------------------------------------------------------------------- How we would like it to look
COUNTRY MODEL CARCOUNT SEATS DEALER_COST CostPerSeat
ENGLAND INTERCEPTOR III 4 14,940 3735
TR7 2 4,292 2146
V12XKE AUTO 2 7,427 3713
XJ12L AUTO 5 11,194 2238
*TOTAL ENGLAND 4 13 37,853 2911
FRANCE 504 4 DOOR 5 4,631 926
*TOTAL FRANCE 1 5 4,631 926
This message has been edited. Last edited by: sxschech,
DEFINE FILE CAR
CARCOUNT/I5 = 1;
END
TABLE FILE CAR
SUM CARCOUNT
SEATS
DEALER_COST
COMPUTE CostPerSeat/I6 = ( DEALER_COST / SEATS );
BY COUNTRY RECOMPUTE
BY MODEL
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=CARCOUNT, COLOR=WHITE, $
ENDSTYLE
END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006