Focal Point
Column Total/Average

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9821008331

September 17, 2004, 07:02 PM
<rama1971>
Column Total/Average
Hello,

I am working with WebFOCUS5.2.2 to develop BI Reports and in one report which has more than 10 computed Columns, I need to get Column Totals for 4 Columns and Column Average value for 6 Columns.

So can you help me to get column total value for some columns and column average value for some columns in the same report.

Thanks for you help in advance.

Regards,
Rama
September 20, 2004, 04:10 PM
RB
Hi Rama1971,

Use prefix operators to find averages and

ON TABLE COLUMN-TOTAL command to find column totals.

For example:
TABLE FILE CAR
PRINT

Ave.C1
Ave.c2
C3
c4
c5
...
..
BY XYZ
ON TABLE COLUMN-TOTAL
END

this prints totals for all the columns though.

To remove the column totals for all the rest of the columns
add a styling sheet option:

TYPE=GRANDTOTAL, COLOR= WHITE, COLUMN = N1, $


Does that answer your question?
October 05, 2004, 04:16 PM
<rama1971>
Hi RB,

Thank you for your response and Sorry for late reply.

When I am adding the following code to a procedure

TYPE=GRANDTOTAL, COLOR= WHITE, COLUMN = N1, $

the total for that column is not displaying but
average also not getting.

I think It is not getting the average value for that column.

Could you please help me to resolve this problem.

Thanks again in advance for your help.

Regards,
Rama