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     [CLOSED] Using Across

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Using Across
 Login/Join
 
Member
posted
I need some help from the webfocus gurus. I am trying to create a file with financial aid award data. The data is currently sorted as follows and each person can have several different awards.

ID Name Term Fnd Amt
942 Jack 200980 Loan1 600
942 Jack 200980 Loan2 500
942 Jack 200980 Grant1 1500
942 Jack 201020 Loan1 600
942 Jack 201020 Loan2 500
942 Jack 201020 Grant1 1500

I need the output to look like this


ID Name Fnd1 TermAmt1 TermAmt2 Fnd1Total Fnd2 TermAmt1 TermAmt2 Fnd2Total Fnd3 TermAmt1 TermAmt2 Fnd3Total


How can this be done with Web Focus. I've tried the across and have gotten close except I only want the Fnd to appear once. I get something like this.


ID Name Fnd1 TermAmt1 Fnd1 TermAmt2 Fnd2 TermAmt1 Fnd2 TermAmt2


I also haven't figured out how to get the FndTotals

I am using Developer studio and I believe the Web Focus version is 7.6. Any assistance would be greatly appreciated.

Kathryn A. Smith

This message has been edited. Last edited by: Kerry,
 
Posts: 1 | Registered: December 03, 2005Report This Post
Guru
posted Hide Post
Is the numbe rof columns fixed? Then you could sort the values in a DEFINE.

DEFINE ...
AMOUNT1/D12.2=IF Fnd EQ 'Loan1' THEN Amt ELSE 0;
AMOUNT2....
END

TABLE FILE ...
SUM AMOUNT1 AMOUNT2 ...
By id by name


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Expert
posted Hide Post
What are the field in your MFD? Please check documentation for the syntax of the key words SUM, BY, ACROSS, and perhaps SUBTOTAL. I'm sure that'll get you started.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
And when you're willing to use hold-files, your problem can be easily solved.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 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     [CLOSED] Using Across

Copyright © 1996-2020 Information Builders