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]Hide a column from across column

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Hide a column from across column
 Login/Join
 
Silver Member
posted
I have a cross report for country. How can I hide the column for JAPAN without losing my total.

here is the sample using a CAR file
TABLE FILE CAR
SUM
CAR.BODY.SALES
BY CAR.COMP.CAR
BY CAR.CARREC.MODEL
ACROSS LOWEST CAR.ORIGIN.COUNTRY ACROSS-TOTAL
ON TABLE COLUMN-TOTAL AS 'TOTAL'
END

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8.2.0.7,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 43 | Registered: September 30, 2015Report This Post
Virtuoso
posted Hide Post
What should Total be if your report hides JAPAN?

I assume you don't like the total when you have:
WHERE COUNTRY NE 'JAPAN';


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Silver Member
posted Hide Post
I will also need the grand total amount including JAPAN


WebFOCUS 8.2.0.7,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 43 | Registered: September 30, 2015Report This Post
Virtuoso
posted Hide Post
There's a way to specify which values are included in the report, but I think it takes the non-selected columns out of the totals as well.

Multi-part report where the second captures the total numbers and presents them separately?



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Silver Member
posted Hide Post
John,

How do specific which columns are included in the report?
If I can hide what I don't need. Then, I can do a manual define to calculate the totals.

thanks,

Vera


WebFOCUS 8.2.0.7,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 43 | Registered: September 30, 2015Report This Post
Virtuoso
posted Hide Post
It's in the Help files for ACROSS COLUMNS AND as this --

TABLE FILE EMPLOYEE
SUM CURR_SAL
ACROSS BANK_NAME COLUMNS 'BEST BANK' AND STATE
AND ASSOCIATED AND 'BANK ASSOCIATION'
END

Sort of a bugger to find unless you know it's there.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
using column notation {eg Cn, also Pn, )
SET ASNAMES = ON
TABLE FILE IBISAMP/CAR
SUM SALES AS TOTSALES 
  
SUM SALES   BY COUNTRY 
ON TABLE HOLD
END
 TABLE FILE HOLD PRINT *
END
TABLE FILE HOLD SUM TOTSALES NOPRINT SALES ACROSS COUNTRY AND COMPUTE TOTAL=C1;
IF COUNTRY NE 'FRANCE'
END

where C1 is the first column after the first verb, and you have NOPRINTed that column, but the internal matrix still can use it just fine




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
See what happens with
WHERE TOTAL COUNTRY NE 'JAPAN';


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Silver Member
posted Hide Post
thanks Susan


WebFOCUS 8.2.0.7,
Application Studio,
Webfocus Info-Assist
iWay Service Manager,
iWay Data Migrator
Windows, All Outputs
IBM DB2/400, MS SQL-Server 2014
 
Posts: 43 | Registered: September 30, 2015Report 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]Hide a column from across column

Copyright © 1996-2020 Information Builders