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     Suppressing columns in rows (not zero)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Suppressing columns in rows (not zero)
 Login/Join
 
<Meek>
posted
I have a report...

BLDG ROOM EMP ARE CAP OCC
A 3 A 100 1 1

In the event that i have more than one person in a room i get...

BLDG ROOM EMP AREA CAP OCC
A 3 A 100 2 2
B 100 2 2

This isn't correct as it doubles AREA CAP and OCC. Using a compute and the LAST function I am able to get the following to show

BLDG ROOM EMP AREA CAP OCC
A 3 A 100 2 2
B 0 0 0

This is great only it makes almost no sense. What i want to do is the following...

BLDG ROOM EMP AREA CAP OCC
A 3 A 100 2 2
B
4 A 84 1 1

no you may be quick to say "use suppress 0"

Well that only works great for AREA, but for CAP and OCC there are rooms that have 0 for one or both.

Can anyone help?

Tamikia
 
Report This Post
Silver Member
posted Hide Post
Tamaika,

You can set the value of the compute field to NULL using the missing option.

  <br />COMPUTE ROOMX/I4 MISSING ON = IF ROOM EQ 0 THEN MISSING ELSE ROOM;    
Hope that helps.

M
-----------
(Webfocus 533/WIN2K/IIS)
 
Posts: 33 | Location: New York, USA | Registered: August 11, 2003Report This Post
Gold member
posted Hide Post
Following up on what was said before, just make the fields be MISSING if it is not the first EMP for a given ROOM:
SET NODATA = ' '
TABLE FILE FOCAL
PRINT EMP
COMPUTE CTR/I1 = IF ROOM EQ LAST ROOM THEN
CTR + 1 ELSE 1; NOPRINT
COMPUTE AREA/I3 MISSING ON = IF CTR GT 1
THEN MISSING ELSE AREA;
COMPUTE CAP/I3 MISSING ON = IF CTR GT 1
THEN MISSING ELSE CAPACITY;
COMPUTE OCC/I3 MISSING ON = IF CTR GT 1
THEN MISSING ELSE OCC;
BY BUILDING
BY ROOM
END
 
Posts: 60 | Location: 2 penn | Registered: May 22, 2003Report 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     Suppressing columns in rows (not zero)

Copyright © 1996-2020 Information Builders