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.
Without a column reference you need to do it in 2 passes. This won't work with ACROSS since the row total field will have the same name as the verb object.
TABLE FILE CAR PRINT RCOST DCOST BY COUNTRY ROW-TOTAL ON TABLE HOLD END TABLE FILE HOLD PRINT * ON TABLE SET STYLE * TYPE=DATA,COLUMN=TOTAL,BACKCOLOR='RED',$ ENDSTYLE END
no, each verb object gets its own. SUM APPLES ORANGES ACROSS STATE AND ROW-TOTAL BY SOMETHING gives me a row total for apples and one for oranges, so i'm trying to conditionally style the APPLES, say.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
TABLE FILE CAR SUM RCOST AS 'RETAIL' DCOST AS 'DEALER' ACROSS COUNTRY BY SEATS ROW-TOTAL ON TABLE SET STYLE * TYPE=DATA, COLUMN=ROWTOTAL(1), COLOR=GREEN, $ TYPE=DATA, COLUMN=ROWTOTAL(DCOST), COLOR=BLUE, $ ENDSTYLE END
quote:
When used with ACROSS and multiple display commands, ROWTOTAL generates multiple total columns. Use ROWTOTAL(n) to select a particular total column. Use ROWTOTAL(field) to select the row total column for a particular field. Use ROWTOTAL(*) to select all row total columns in the report.