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.
DEFINE FILE FS_ROOT DISPVAL/A9= IF J0.SEG01.FSDISPTP EQ 'D' THEN '(D16.2CM)' ELSE IF J0.SEG01.FSDISPTP EQ 'P' THEN '(D16.4%)' ELSE IF J0.SEG01.FSDISPTP EQ 'C' THEN '(D16C)' ELSE 'D16.4'; END TABLE FILE FS_ROOT PRINT FS_ROOT.SEG01.FSCALVALOUT/J0.SEG01.DISPVAL AS 'Cal Value' FS_ROOT.SEG01.FSMANVALOUT/J0.SEG01.DISPVAL AS 'Man Value' FS_ROOT.SEG01.FSREPVALOUT/J0.SEG01.DISPVAL AS 'Rep Value'
Excel Result:
Cal Value Man Value Rep Value DISPVAL 17,103 0 17,103 (D16C) 11.9101% .0000% 11.9101% (D16.4%) $1,486,797.70 $.00 $1,486,797.70 (D16.2CM)
HTML and PDF Result: Cal Value Man Value Rep Value DISPVAL +++++++++++++ ++++++++++++ +++++++++++++++ (D16C) +++++++++++++ ++++++++++++ +++++++++++++++ (D16.4%) +++++++++++++ ++++++++++++ +++++++++++++++ (D16.2CM)
I'm sure there is a simple fix that I'm not finding.This message has been edited. Last edited by: RonT,
Very cool technique. I think the problem might be the () around the format in your DEFINE. This example seems to work properly.
DEFINE FILE CAR
FMT/A8=IF COUNTRY EQ 'JAPAN' THEN 'I9C' ELSE
IF COUNTRY EQ 'ENGLAND' THEN 'D21.2%' ELSE
IF COUNTRY EQ 'FRANCE' THEN 'D20CM' ELSE 'D21.4';
END
TABLE FILE CAR
PRINT RETAIL_COST/FMT
BY COUNTRY
END
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015