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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
I am working in WebFOCUS Reports development and in my requirement I need find the column average value for some columns and I need to display like column totals.
So Could you please any one help me out to get this report.
I suggest you use a COMPUTE to calculate your average:
COMPUTE AVG/D12.2=(C3+C4+C5)/3; AS 'Average'
This will compute the average of the three columns mentioned. Make sure you use ON TABLE RECOMPUTE to have the average correctly shown on your summary line(s)
Posts: 44 | Location: New York City | Registered: May 23, 2004
TABLE FILE CAR SUM SALES BY COUNTRY ON TABLE SUBTOTAL AVE. SALES AS 'AVE: ' END
The syntax of using prefix operators in summary lines (SUBTOTAL, RECOMPUTE etc.) is described in the WebFOCUS 5.3 New Features manual (I have never seen this sytax in the earlier documentation), but it works with some other versions (e.g 5.20).