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     how to display this in webFOCUS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
how to display this in webFOCUS
 Login/Join
 
Member
posted
i have the following requirement. my table has following records

DOW_ID | BEGIN_VAL | END_VAL
----------------------------
1 | 11 | 11
1 | 21 | 21
2 | 12 | 12
2 | 22 | 22
3 | 13 | 13
3 | 23 | 23
4 | 14 | 14
4 | 24 | 24
5 | 15 | 15
5 | 25 | 25
6 | 16 | 16
6 | 26 | 26
7 | 17 | 17
7 | 27 | 27

I want to display the records in the following way


1 2 3 4 5 6 7

11 11 12 12 13 13 14 14 15 15 16 16 17 17
21 21 22 22 23 23 24 24 25 25 26 26 27 27

can anyone help me achieve this requirement.
 
Posts: 23 | Registered: April 20, 2007Report This Post
Virtuoso
posted Hide Post
This is very smilar to a previous request you had.
Try:
DEFINE FILE Fn
FLOW/I1=IF DOW_ID EQ LAST DOW_ID THEN 1 ELSE 0;
END
TABLE FILE Fn
SUM BEGIN_VAL END_VAL
ACROSS DOW_ID AS ''
BY FLOW NOPRINT
END


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Member
posted Hide Post
Sorry alan i forgot to mention that i am storing in a table temporarily and reading it later from that and displaying.
 
Posts: 23 | Registered: April 20, 2007Report This Post
Virtuoso
posted Hide Post
The basics should be the same:
DEFINE FILE Fn
FLOW/I1=IF DOW_ID EQ LAST DOW_ID THEN 1 ELSE 0;
END
TABLE FILE Fn
SUM BEGIN_VAL END_VAL
BY DOW_ID
BY FLOW
ON TABLE HOLD
END

TABLE FILE HOLD
SUM BEGIN_VAL END_VAL
ACROSS DOW_ID AS ''
BY FLOW NOPRINT
END

Is this any help, what you are looking for?


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 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     how to display this in webFOCUS

Copyright © 1996-2020 Information Builders