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.
I have a need of formatting groups of Rows (i.e. for some rows the number of decimal places needs to be 2 decimal places eg. 100.22, for some of the rows it needs to be 1 decimal place eg. 100.2 and for some of the rows without decimal place[B], in one column of a Report.
Example:
Some rows that prints [B]Number of Units need to be without decimal places.
Example: Production - Units = 100
Some rows that prints Rates for different types of Products needs 1 decimal place .
Example: Unit Price: 20.1
Some rows that prints the diffrence between two figures needs 2 decimal places .
Example: Difference: 20.11
I am trying to arrive at a solution without using ompound report technique.
Please help me with your suggestions.
Thanks in advance.
SRINIThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.6.4 i5/os PDF, XL2K, HTML & AHTML
Posts: 2 | Location: India | Registered: March 01, 2008
Hey Srini, We use this technique on several reports. It took me a minute to find the reference in the manual but it's in both of the Creating Reports manuals under Creating Temporary Fields >> Applying Dynamically Formatted Virtual Fields to Report Columns
DEFINE FILE CAR
MYFORMAT/A8=DECODE COUNTRY('ENGLAND' 'P15.2C' 'JAPAN' 'P15.0' ELSE 'P15.2M');
END
TABLE FILE CAR
SUM SALES/MYFORMAT BY COUNTRY
END