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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Adding a New Field
 Login/Join
 
Gold member
posted
Hi guys,
Want to add a new columns which shows the Date. But I want to add this Date field as last column but restricting to only 1 row.

Below is sample data Format...

COUNTRY|SEATS|CurrentDATE|
ENGLAND|2 |2007/08/14 |
FRANCE |4 | |
ITALY |5 | |
JAPAN |6 | |


Know how to create using DEFINE and using IF condition like IF COUNTRY EQ 'ENGLAND' THEN &YYMD.
But COUNTRY|SEATS is a Hold file (Which is created depending on data - We can't use IF condition as data is not same for every RUN)

Any suggestions or work arounds is appreciated.

Thanks


Prod: WF 7.6.10 windows. -- MRE/Dashboard/Self Service/ReportCaster - Windows XP
 
Posts: 82 | Location: Chicago | Registered: September 28, 2005Report This Post
Platinum Member
posted Hide Post
Here is adding the date to the first record.
Good luck!!



TABLE FILE CAR
PRINT SEATS
COMPUTE CNT1/I9=LAST CNT1 + 1; NOPRINT
COMPUTE DT/MDY=IF CNT1 EQ 1 THEN '081407' ELSE 0;
BY COUNTRY
END



COUNTRY SEATS DT
------- ----- --
ENGLAND 4 08/14/07
5
4
2
FRANCE 5
ITALY 2
2
4
2
JAPAN 4
4
W GERMANY 5
5
4
5
5
5


FOCUS 7.6 MVS PDF,HTML,EXCEL
 
Posts: 115 | Location: Chicago, IL | Registered: May 28, 2004Report This Post
Gold member
posted Hide Post
Thank you.


Prod: WF 7.6.10 windows. -- MRE/Dashboard/Self Service/ReportCaster - Windows XP
 
Posts: 82 | Location: Chicago | Registered: September 28, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders