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     conditionally using WITHIN clause

Read-Only Read-Only Topic
Go
Search
Notify
Tools
conditionally using WITHIN clause
 Login/Join
 
Gold member
posted
Hi i have following issue.

The data is like

Col1 Col2 Col3 Col4 Col5
A B1 Fem 100
Mal 200
B2 Fem 150
Mal 250
B3 Fem 170
Mal 280

Now in Col5 i need to display Sum of Col4 FOR ONLY "Fem" records within Col1 (i.e. 100+150+170). A simple WITHIN Col1 will give me sum of both males and females.

Please suggest some other approach.
 
Posts: 78 | Registered: December 11, 2005Report This Post
Guru
posted Hide Post
Try using a COMPUTE...

COL5 = if col2 eq fem then col3 else 0.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 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     conditionally using WITHIN clause

Copyright © 1996-2020 Information Builders