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 a new to FML and am having trouble with the following statement - I am getting an error on the recap (Foc080). Any insight is much appreciated!
-SET &ECHO=ALL; TABLE FILE JOTS_WEEKLY_SALES SUM POUNDS JOTS_GROSS_PROFIT NOPRINT COMPUTE Margin/D12.4 = IF POUNDS EQ 0 THEN 0 ELSE ( JOTS_GROSS_PROFIT / ABS ( POUNDS ) ); BY CUST_NUM BY CUST_NAME ACROSS YEAR ACROSS PERIOD FOR CUST_NUM 1000 AS 'CUST NO' LABEL CNO OVER 1010 AS 'CUST NAME' LABEL CNAME OVER 1020 AS 'POUNDS' LABEL PNDS OVER BAR RECAP CUST_TTL/D12.2 = E(C,6) + E(E,6); AS 'TOTAL ONE' OVER RECAP CUST_TTL2/D12.2 = E(F,6) + E(G,6); AS 'TOTAL TWO' WHERE DIV_NUM EQ '7' AND TERR_NUM NE '9'; WHERE RELATIVE_YEAR EQ 0; WHERE RELATIVE_PERIOD LE -1; ON TABLE PCHOLD FORMAT EXL2K ON TABLE SUMMARIZE END
Posts: 7 | Location: Minnesota | Registered: May 23, 2005
Michele- I have the feeling that you might be pushing FML beyond its capabilities. Try breaking the problem down and solving it in several stages. What I see first is a line with cust_num, cust_name, pounds, and margin. Are you then trying to stack cust_num over cust_name over pounds? It might be helpful to build a mock-up of your report in Excel. This will help you break-down the requirements into easily solvable chunks. HTH
Posts: 252 | Location: USA | Registered: April 15, 2003
Try this (assuming you are adding all the columns in the 1st 2 rows .. then the last 2 rows....)
1000 AS 'CUST NO' LABEL CNO OVER 1010 AS 'CUST NAME' LABEL CNAME OVER 1020 AS 'POUNDS' LABEL PNDS OVER BAR RECAP CUST_TTL/D12.2 = CNO + CNAME; AS 'TOTAL ONE' OVER RECAP CUST_TTL2/D12.2 = CNAME + PNDS; AS 'TOTAL TWO'
If this is not what you are trying to do then please explain what you are aiming for.