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.

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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] ON TABLE COLUMN-TOTAL

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] ON TABLE COLUMN-TOTAL
 Login/Join
 
Member
posted
For Any Experts?

I need Column Footing Totals. I have tried using ON TABLE COLUMN-TOTALS, I do not get any Column Totals Output. This is a 'MATRIX' Report

Here is my WF Code.

TABLE FILE ICSL
ON COLUMN-TOTAL
SUM
'CNT.ICSL.SEG01.EMPLID'
ACROSS 'ICSL.SEG01.SEX' AS 'Gender' ACROSS-TOTAL
ACROSS 'ICSL.SEG01.RESIDENCY'
FOR
'ICSL.SEG01.ACAD_LEVEL_BOT'
'05' AS 'UN' LABEL R1 OVER
'10' AS 'FR' LABEL R2 OVER
'20' AS 'SO' LABEL R3 OVER
'30' AS 'JR' LABEL R4 OVER
'40' AS 'SR' LABEL R5 OVER
'GR' AS 'GR' LABEL R6
ON TABLE SUBHEAD
"Head Count by Gender, Residency & Academic Level"
" [ &DATEDMY ]"
HEADING
" Summary Report for TERM 2010 FALL (1108)"
FOOTING
"&TOD "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *

Here is Rpt Output.

Head Count by Gender, Residency & Academic Level
[ 10/05/10 ]

Summary Report for TERM 2010 FALL (1108)

Gender
F M U TOTAL
Residency
NRES RES NRES RES RES

--------------------------------------------------------------------------------

UN
FR
SO
JR
SR
GR

TOTAL ??????????????

How do I generate Column Totals for ea detail Column(5) and the Cross_Footed 'Total' Column


Thanks

Mike O

This message has been edited. Last edited by: Kerry,


WebFocus Developer 7.6.10
 
Posts: 13 | Registered: November 16, 2009Report This Post
Expert
posted Hide Post
It is either
ON TABLE COLUMN-TOTAL
or
BY fielname COLUMN-TOTAL
.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Member
posted Hide Post
quote:
ON TABLE COLUMN-TOTAL


Ginny,

Appreciate the quick response, very much.

In reviewing my code, where exactly does the

"ON TABLE COLUMN-TOTAL
or
BY fielname COLUMN-TOTAL" go.

How do I edit the WF Code in my initial post.

Here is my modified WF Code with the 'ON TABLE COLUMN-TOTAL".

TABLE FILE ICSL
ON TABLE COLUMN-TOTAL
SUM
'CNT.ICSL.SEG01.EMPLID'
ACROSS 'ICSL.SEG01.SEX' AS 'Gender' ACROSS-TOTAL
ACROSS 'ICSL.SEG01.RESIDENCY'
FOR
'ICSL.SEG01.ACAD_LEVEL_BOT'
'05' AS 'UN' LABEL R1 OVER
'10' AS 'FR' LABEL R2 OVER
'20' AS 'SO' LABEL R3 OVER
'30' AS 'JR' LABEL R4 OVER
'40' AS 'SR' LABEL R5 OVER
'GR' AS 'GR' LABEL R6
ON TABLE SUBHEAD
"BoT Report - Head Count by Gender, Residency & Academic Level"
" [ &DATEDMY ]"
HEADING
"Peru State College Board of Trustees Summary Report for TERM 2010 FALL (1108)"
FOOTING
"&TOD "
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *

When, I place the "ON TABLE COLUMN-TOTAL" the WF CODE executes and the OUTPUT shows all Summary Details for each Dtl Column.

However, there is NO SUMMARY/GRAND TOTAL for each detail column and the TOTAL column?

Thanks

Mike O


WebFocus Developer 7.6.10
 
Posts: 13 | Registered: November 16, 2009Report This Post
Member
posted Hide Post
Ginny,

I figured it out. I changed the "NOTOTALS' Line.

Thanks Mike.


WebFocus Developer 7.6.10
 
Posts: 13 | Registered: November 16, 2009Report This Post
Expert
posted Hide Post
TABLE FILE CAR
SUM SALES RETAIL_COST DEALER_COST
BY COUNTRY
ACROSS BODYTYPE
ON TABLE COLUMN-TOTAL
END

Here is a little sample. The line can go anywhere. However, you have an ON TABLE NOTOTAL in your code which overrides the COLUMN-TOTAL.

Also you are doing FML which is a different animal altogether. You can calculate your own totals in FML if you want to.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
The GUI likes to stick the ON TABLE NOTOTAL line into the code which, as Ginny mentions, overrides everything else you might try to do. Personally, I think the default should be to NOT put that line in and then if it appears based on something else you've added and you don't want it, you can then turn it off.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Member
posted Hide Post
Thanks, Everyone alot.

I'm a 'Noobie' to WF, so I appreciate the assistance.

I'll close the Question out now.

Thanks

Mike


WebFocus Developer 7.6.10
 
Posts: 13 | Registered: November 16, 2009Report 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     [SOLVED] ON TABLE COLUMN-TOTAL

Copyright © 1996-2020 Information Builders