Focal Point Banner


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.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Column Total/Average

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Column Total/Average
 Login/Join
 
<rama1971>
posted
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
 
Report This Post
Gold member
posted Hide Post
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?
 
Posts: 76 | Registered: October 28, 2003Report This Post
<rama1971>
posted
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
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Column Total/Average

Copyright © 1996-2020 Information Builders