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] Same data is repeated to display like Version .1

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Same data is repeated to display like Version .1
 Login/Join
 
Gold member
posted
Hi

How to implement the logic for below data
i have column like "PO_Code" having a data as below , i want one more column like PO_Code_Ver

if same values is repeating the version has to display in that column as below column PO_Code_Ver data



[B]PO_Code  PO_Code[/B] 
PO222.1  PO 1 
PO106.1  PO 2 
PO323.1  PO 3.1 
PO323.2  PO 3.2 
PO823.1  PO 4
PO921.1  PO 5.1
PO921.2  PO 5.2
PO921.3  PO 5.3
PO941.1  PO 6
  



Can any once help me to implement the logic


Thank you Advance

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8202
 
Posts: 61 | Location: India | Registered: March 24, 2014Report This Post
Virtuoso
posted Hide Post
You'll have to define a field that adds .1 to 'PO '|CODE+0.1 when LAST PO_CODE EQ PO_CODE.

That assumes your PO_CODEs are in sorted order.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
Could you please give me ex
I didn't get you please


WebFOCUS 8202
 
Posts: 61 | Location: India | Registered: March 24, 2014Report This Post
Virtuoso
posted Hide Post
Developer

Try this. Not sure of your real field names but hopefully this helps with the syntax.


DEFINE PO_CODE_NEW/D12.1 = IF PO_CODE EQ LAST PO_CODE THEN PO + .1 ELSE PO;


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report 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] Same data is repeated to display like Version .1

Copyright © 1996-2020 Information Builders