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 need to subtotal on different BY fields but need the same fields to subtotal on. On the first BY field, I am subtotalling on 2 fields and on the second BY field I am subtotalling on 4 fields. When I run the report, the subtotal is shown for all 4 fields for both the BY fields. When using the GUI, I am selecting show subtotals for only 2 fields, but it is not being respected when the report is run.
The following is the code I am using.
Thanks,
TABLE FILE V_FX_SWAPS_FLAT
PRINT
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_DEAL_NUMBER AS 'Deal,#'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.type AS 'Type'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.trade_dt AS 'Trade,Date'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.vd_yymd AS 'Value,Date'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.slccysold AS 'Buy'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.amount_bght AS 'Principal'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.srate AS 'Spot,Rate'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_CCY_BOUGHT AS 'Against'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.equivsold AS 'Equiv,Sold'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.fwd_dt AS 'Fwrd,Date'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_RATE AS 'Fwrd,Rate'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.term AS 'Term,(Days)'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.remaining_term AS 'Rem,Term'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_AMOUNT_BOUGHT AS 'Buy,Amount'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.LL_CCY_BOUGHT AS 'Sell'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_AMT_SOLD AS 'Amount'
V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.cparty AS 'CParty'
BY V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_CCY_BOUGHT NOPRINT
BY V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_CCY_SOLD NOPRINT
BY V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.remaining_term NOPRINT
ON V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_CCY_BOUGHT SUBTOTAL
'V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.equivsold'
'V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_AMOUNT_BOUGHT' AS 'Total'
ON V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_CCY_SOLD SUBTOTAL
'V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.amount_bght'
'V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.equivsold'
'V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_AMOUNT_BOUGHT'
'V_FX_SWAPS_FLAT.V_FX_SWAPS_FLAT.SL_AMT_SOLD' AS 'Sub-total for'
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
ENDSTYLE
END
This message has been edited. Last edited by: Kerry,
WebFOCUS 7.7.02Windows Output Formats: Excel, HTML, PDF