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.
Basically, here is my problem. This sounds very simple in theory, but I haven't found an easy solution to it. I have 2 tables. Both have an ID field and both have multiple records per ID. TableA has 15000 distinct ID's and TableB has 11000 distinct ID's.
I need to create a report that divides TableB's DST.ID's by TableA's DST.ID's:
11,000/15,000 = .73
The problem is that you can't have a report where you are counting distinct on 2 fields.
I've tried matching on the base tables, matching on the hold files with the count.dst outputs, joins on both tables, and I can't find a way to do this.
UNTESTED BUT MIGHT WORK IF ALL YOU WANT IS THE DIVIDED VALUE.
SET ASNAMES = ON TABLE FILE TABLEA CNT.DST.ID AS ACOUNT COMPUTE ABLANK/A1 = ' ' ON TABLE HOLD AS HOLD1 END TABLE FILE TABLEB CNT.DST.ID AS BCOUNT COMPUTE ABLANK/A1 = ' '; ON TABLE HOLD AS HOLD2 END JOIN ABLANK IN HOLD1 TO ABLANK IN HOLD2 AS J1 TABLE FILE HOLD1 PRINT COMPUTE VALUENEED/D6.2 = BCOUNT / ACOUNT; END
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
We are on Plus2000, but and don't hold me to this comment. We are looking at moving to a new system and it most likely will be Banner. Did you convert to Banner from other SCT version? If so, offline disussion would be good.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004