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     Multiple formats in a report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Multiple formats in a report
 Login/Join
 
Guru
posted
I'm trying to create a report with multiple formats in the same column. Does anyone know how to do this?

I'm running WebFOCUS 5.2.6.

Here is what I'm trying to do.

Column1 Column2 Column3
Value1  100.00   300.00
Value2  150.00   200.00

Column1 Column2 Column3
Diff       -50      100
% Diff  -50.0%    33.3%

I would simply do an OVER but I have to combine two other reports that have the same column titles that I need to have line up.
If I was to CONCAT the reports together they also many not line up since one of the reports does not have the same number of columns.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
<WFUser>
posted
You can dynamically change the format of a field by creating the format in a DEFINE field and then using that to redefine the format in the report.

DEFINE FILE ADDRESS
FMT/A8 = IF ADDR1 EQ 1 THEN 'I4' ELSE 'D4.2%';
END
TABLE FILE ADDRESS
PRINT
'ADDRESS'
'INCRESE/FMT'
....
 
Report This Post
Guru
posted Hide Post
Sweat, thanks a lot this works great.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report 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     Multiple formats in a report

Copyright © 1996-2020 Information Builders