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 field "Colors" IF Color EQ 'BLU' THEN 'Blue' ELSE IF Color EQ 'GRN' THEN 'Green' ELSE IF Color EQ 'YLW' THEN 'Yellow' ELSE IF Color IN('BLU','GRN') THEN 'Blue or Green' ELSE 'N/A'
then I can filter out the N/A
So my summary table would look like this -
Colors Count
Blue 10
Green 20
Yellow 40
Blue or Green 30
Know what I mean?This message has been edited. Last edited by: Kerry,
defines do not work that way. once it meets a value it will drop out. the way I would do it is something like this /* DEFINE FILE BLUE_CNT/I6-IF Color EQ 'BLU' THEN 1 ELSE 0; GREEN_CNT/I6-IF Color EQ 'GRN' THEN 1 ELSE 0; YELLOW_CNT/I6-IF Color EQ 'YLW' THEN 1 ELSE BLUE_GRN_CNT/I6-IF IF Color IN('BLU','GRN') THEN 1 ELSE 0; END TABLE FILE SUM BLUE_CNT GREEN_CNT YELLOW_CNT BLUE_GRN_CNT
WF 7.6.11 Oracle WebSphere Windows NT-5.2 x86 32bit
Mcguyver is a possible way or you can use hold files You try to use the same figures in two selections. One for blue or green and one for blue and green.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
FML is always available in WebFOCUS, it is not a separate license. Use Report Painter, and, paste this into a new fex. From the Creating Financial Reports document here... You'll need to log in to Tech Support...
TABLE FILE FINANCE
SUM
FINANCE.TOP.AMOUNT
ACROSS HIGHEST FINANCE.TOP.YEAR
FOR
FINANCE.TOP.ACCOUNT
'1000' AS 'UTILITY PLANT' LABEL UTP OVER
'1010' TO '1050' AS 'LESS ACCUMULATED DEPRECIATION' LABEL UTPAD OVER
BAR OVER
RECAP UTPNET=UTP-UTPAD;
AS 'TOTAL PLANT-NET' OVER
BAR OVER
'2000' TO '3999' AS 'INVESTMENTS' LABEL INV OVER
"CURRENT ASSETS" LABEL R7 OVER
'4000' AS 'CASH' LABEL CASH OVER
'5000' TO '5999' AS 'ACCOUNTS RECEIVABLE-NET' LABEL ACR OVER
'6000' AS 'INTEREST RECEIVABLE' LABEL ACI OVER
'6500' AS 'FUEL INVENTORY' LABEL FUEL OVER
'6600' AS 'MATERIALS AND SUPPLIES' LABEL MAT OVER
'6900' AS 'OTHER' LABEL MISC OVER
BAR OVER
RECAP TOTCAS=CASH+ACR+ACI+FUEL+MAT+MISC;
AS 'TOTAL CURRENT ASSETS' OVER
BAR OVER
'7000' AS 'DEFERRED DEBITS' LABEL DEFDB OVER
BAR OVER
RECAP TOTAL=UTPNET+INV+TOTCAS+DEFDB;
AS 'TOTAL ASSETS' OVER
BAR AS '='
HEADING CENTER
"COMPARATIVE ASSET SHEET </2"
FOOTING
"</2 *** PRELIMINARY ASSET SHEET BASED ON UNAUDITED FIGURES ***"
WHERE YEAR EQ '1983' OR '1982';
ON TABLE NOTOTAL
END