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 requirement to build a P&L statement in WF. Naturally, I have been developing it using FML since that language is designed specifically for accounting-type reports. I have a problem, though, in that my users want to see items appear on the report that are on different levels from each other. Here is what I have:
Fact table that lists a $ amount and an accounting period date in the form of a yym format. Each fact also has a numeric pointer to one of four dimensions.
The only dimension I am really concerned about for this report is our GL Account dimension. Here is the .mas code for that synonym to give you an idea of the architecture:
The report the users want to see will sum to the CNSLDTN_ACCT level for certain cases, but also sum to the ACCT_NM level on the same report for other cases. I am totally baffled how to combine these two unlike things into one report. What I have tried is to create two separate FML reports, one that has a FOR on the ACCT_NM field and the second report has a FOR on the CNSLDTN_ACCT field. It appears that they both work independently of each other, but I dont know how to get them both to appear on a third report to bring them together. I have tried MATCH and JOINS, but there are issues with each that doesn't totally solve the problem. Does anyone have experience with something like this?This message has been edited. Last edited by: T.Peters,
WebFOCUS: 7702 O/S : Windows Data Migrator: 7702
Posts: 127 | Location: San Antonio | Registered: May 29, 2009
I would create two hold files, summing to the level you want - create a field in each hold file with the same name equal to the field in question. Then use the two hold files in your FRL report. Something like this:
TABLE FILE LACCT_DIM
SUM
DOLLARFIELD1
DOLLARFIELD2
DOLLARFIELD3
BY GL_CNSLDTN_ACCT as 'REP_LEVEL'
WHERE certain-case-1
ON TABLE HOLD AS H001
END
TABLE FILE LACCT_DIM
SUM
DOLLARFIELD1
DOLLARFIELD2
DOLLARFIELD3
BY GL_ACCT_NM as 'REP_LEVEL'
WHERE certain-case-2
ON TABLE HOLD AS H002
END
TABLE FILE H001
PRINT *
ON TABLE HOLD AS H003
MORE FILE H002
END
TABLE FILE H003
frl report
END
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server