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.
SELECT JPM_TRAN_TYPE_C,REGN_REF_I ,SUM(TRAN_A),CAL_MO_I,CAL_YR_I FROM CRCD_EXCP_BLK_V WHERE CAL_MO_I=&CMTH_ID AND CAL_YR_I=&CALYEAR GROUP BY JPM_TRAN_TYPE_C,REGN_REF_I,CAL_MO_I,CAL_YR_I WITH ROLLUP ORDER BY JPM_TRAN_TYPE_C,REGN_REF_I; END
Is there any option on Report painter for RollUp?
WebFocus 7.1.4, Windows Server 2005 , HTML/EXL/PDF
Had to look up 'rollup' in sql. As I see it the purpose is to eliminate 'null values' in the group by parameters. I don't think you need to worry, experts out there correct me if I'm wrong. I believe this is your sql converted to TABLE FILE which is what report painter does.
TABLE FILE CRCD_EXCP_BLK_V WHERE CAL_MO_I=&CMTH_ID AND CAL_YR_I=&CALYEAR SUM TRAN_A BY JPM_TRAN_TYPE_C BY REGN_REF BY CAL_MO_I BY CAL_YR_1 END
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
Actually, rollup will build subtotal lines. The lines will pre represented in the data stream with a NULL value for the field. For example, one row will have a NULL for CAL_YR_I and that row will preresent the sum of ALL cal_yr_i values.
To answer the original question, I acn not tink of a case that table will build a ROLLUP clause against a standard SQL table (it might for MDX cubes...). So if you want to use ROLLUP, you need to do SQL passthrough and report on the result.
Brian Suter VP WebFOCUS Product Development
Posts: 200 | Location: NYC | Registered: January 02, 2007