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]Filtering on two total fields

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Filtering on two total fields
 Login/Join
 
Platinum Member
posted
Hello

I am trying to develop a report that reports

by payee
by user
by trxamount

the problem is one of the contidions I am filtering on is where total cnt.trxamount is greater than one. The other is where total cnt.payeename is eq to 1. How do I do both without losing the detail of the trxamounts for each payee.

I have been able to make seperate file by summing on the user field and also in the second file just counting the trxamouont. Is there a way to do it in a single pass without having to match or try to join the files back up?

Thanks
Dan

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


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
Platinum Member
posted Hide Post
I think I solved it. I was able to use rank on the payee field and then do a lst.rank and do a where total on that field.


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
Virtuoso
posted Hide Post
A multi-verb request might also work - something like this:

TABLE FILE <filename>
 SUM COMPUTE CNT_TRXAMOUNT/I9C = CNT.TRXAMOUNT ;
     COMPUTE CNT_PAYEENAME/I9C = CNT.PAYEENAME ;
 BY PAYEE
 BY USER (?)
-*
 PRINT <fieldnames>
 BY PAYEE
 BY USER
 BY TRXAMOUNT
 WHERE TOTAL CNT_TRXAMOUNT GT 1 ;
 WHERE TOTAL CNT_PAYEENAME EQ 1 ;
END


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report 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]Filtering on two total fields

Copyright © 1996-2020 Information Builders