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     Hold ACROSS columns static

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Hold ACROSS columns static
 Login/Join
 
Member
posted
Is there a way to hold across columns static?

For example, I've got 5 specific values that I want to always appear as the ACROSS fields, with locations as the primary BY field. Right now, if we don't have data value for 1 of the 5 ACROSS columns for a location, that ACROSS column does not appear on the report, which changes the overall structure of the report. Is there a way to keep the across values static, filling in zeros/blanks/etc for missing values?


Web Server: iPlanet 6.0
App Server: Websphere 6.0
WFClient: 7.6.9
WFServer: 7.6.9 (Windows)
MRE & SSA
 
Posts: 20 | Location: Minneapolis | Registered: July 20, 2004Report This Post
Guru
posted Hide Post
Directly from manual:

ACROSS sortfield COLUMNS value1 AND value2 AND value3 AND value4 AND value5


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Member
posted Hide Post
Dang. I knew there had to be a way.

Sadly, I've even used this technique before when building a line graph; I never thought to use it here.

Thanks!


Web Server: iPlanet 6.0
App Server: Websphere 6.0
WFClient: 7.6.9
WFServer: 7.6.9 (Windows)
MRE & SSA
 
Posts: 20 | Location: Minneapolis | Registered: July 20, 2004Report This Post
Virtuoso
posted Hide Post
Hi,
Sometimes the use of ACROSS can be problematic, for instance if you have SUBFOOTS where you want to show subtotals of specific columns only. You can then use a set of DEFINE fields.
Suppose that the field you want to sum ACROSS is called SALES with format I5 and the sort field is called SEATS:
  
DEFINE FILE ...
SALES2/I5 = IF SEATS EQ 2 THEN SALES ELSE 0;
SALES4/I5 = IF SEATS EQ 4 THEN SALES ELSE 0;
SALES5/I5 = IF SEATS EQ 5 THEN SALES ELSE 0;
SALES7/I5 = IF SEATS EQ 7 THEN SALES ELSE 0;
SALES9/I5 = IF SEATS EQ 9 THEN SALES ELSE 0;
END
TABLE FILE ...
SUM SALES2 SALES4 SALES5 SALES7 SALES9
BY ...
WHERE ...
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report 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     Hold ACROSS columns static

Copyright © 1996-2020 Information Builders