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 have a subtotal of all columns in the report, but instead of doing a subtotal on one column (AVE REV/LD), I'd like to display average of sums of 2 columns to show accurate average. Right now, the row where it shows subtotals show all totals per region...
Here's my code below:
TABLE FILE RAILDETAIL PRINT 'RAILDETAIL.RAILDETA.market' AS 'Market' 'RAILDETAIL.RAILDETA.obLoads' AS 'O/B LDS' 'RAILDETAIL.RAILDETA.ibLoads' AS 'I/B LDS' 'RAILDETAIL.RAILDETA.obTrailers' AS 'O/B TRLRS' 'RAILDETAIL.RAILDETA.ibTrailers' AS 'I/B TRLRS' 'RAILDETAIL.RAILDETA.trailerBalance' AS 'TRLR BALANCE' 'RAILDETAIL.RAILDETA.sixWkOB' AS '6 WK O/B' 'RAILDETAIL.RAILDETA.sixWkIB' AS '6 WK I/B' 'RAILDETAIL.RAILDETA.sixWkTrailerBalance' AS '6 WK TRLR BALANCE' 'RAILDETAIL.RAILDETA.totalRev/D20.2C!D' AS 'LH REV' 'RAILDETAIL.RAILDETA.avgRev/D20.2C!D' AS 'AVE REV/LD' 'RAILDETAIL.RAILDETA.avgSchedDays' AS 'AVE SCHED DAYS' 'RAILDETAIL.RAILDETA.expectedINMDLLoads' AS 'REVENUE AND COSTS,EXPECTED IMDL LDS' 'RAILDETAIL.RAILDETA.OBempties' AS 'O/B MT MOVES' 'RAILDETAIL.RAILDETA.avgRevTrlrDay/D20.2C!D' AS 'AVE REV PER TRLR/DAY' BY 'RAILDETAIL.RAILDETA.rampRegion' AS 'Rail Ramp Region'
Using FML you can get this done. Else you can do subtotal calculation in a separate hold file, then do a join or match to bring it under one file. Hope this helps.
FML i'm not familiar with, and Match is somthing i try to avoid, but maybe i'm misunderstanding the request, wouldn't bringing the two columns in, creating a new column that's the average of the sum of the two columns, then using a RECOMPUTE instead of subtotal work? I am a rookie here, but i'm interested to see what works here.
version 8202M Reporting Server on Windows Server using DB2 Connect to access data from iseries.
Thanks for all the suggestions...the RECOMPUTE works great...Instead of returning the result on the columns from my stored procedure as data, I used an expression in order for it to work...