Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to align Subtotals in Subfoot with the column

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to align Subtotals in Subfoot with the column
 Login/Join
 
<eab>
posted
Hello all!

I am still strugling with totals and subtotals.
How I can make numbers be on a same line with word 'total'?
 
Report This Post
<Vipul>
posted
post the code it has to do with the by clause.


Vipul
 
Report This Post
<eab>
posted
DEFINE FILE WEBFINPR
PRNT_DATE/MTRYY = PRNT_DT;
SORT_FIELD/A1 = IF REGION EQ 'MIDTOWN' THEN 'a' ELSE
IF REGION EQ 'CHICAGO' THEN 'b' ELSE
IF REGION EQ 'SAN FRANCISCO' THEN 'c' ELSE
IF ((REGION EQ 'FINPRO SAFE TOTAL') AND
(RPTG_AGT_N EQ ' ')) THEN 'd' ELSE
IF ((REGION EQ 'GRAND TOTAL') AND
(RPTG_AGT_N EQ ' ')) THEN 'e' ELSE 'X';

END



TABLE FILE WEBFINPR SUM
AGT_CITY
WP_CYTD_A/P12C
EP_CYTD_A/P12C
.......
BY SORT_FIELD
BY REGION NOPRINT
BY MIS_ENTTY_AB NOPRINT
BY AGT_CITY NOPRINT
BY RPTG_AGT_N AS 'Agent#'
ON REGION RECAP
WP_CYTD_P/P12C = WP_CYTD_A;
EP_CYTD_P/P12C = EP_CYTD_A;
GRTHP/P9.1%=((WP_CYTD_A - WP_PYTD_A)/(ABS(WP_PYTD_A)))*100;
COMMP/P6.1%=(-COMM_INCUR_CYTD_A/WP_CYTD_A)*100;
RPTD_CYTD_P/P12C =RPTD_CYTD_A;
LOSSP/P9.1%= (RPTD_CYTD_A/EP_CYTD_A)*100;
ON REGION SUBFOOT
"Total for " "
 
Report This Post
<Vipul>
posted
Try this:
-* File cartotal.fex
DEFINE FILE CAR
CNT/I6 = 1;
PAIDCOST/P17.2CM = RETAIL_COST ;
END
TABLE FILE CAR
PRINT
COUNTRY
MODEL AS 'Model'
PAIDCOST AS 'Retail Cost'
DEALER_COST
CNT NOPRINT
BY COUNTRY AS 'Country'
ON COUNTRY RECAP
COST/P17.2% = PAIDCOST/DEALER_COST;
ON COUNTRY SUBFOOT
"Totals: .lt.COST "
END

ALSO IN STYLESHEET subfoot use headalign as body Run this with grid on initially

See if this works,

Vipul
 
Report This Post
<WFUser>
posted
Your best bet would be to create the report in PDF format. Using PDF will allow use to either position in the stylesheet or use spot markers in the SUBFOOT. Both will allow use to position th totals where you want. Other option might be to use absolute positioning in CSS for HTML.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to align Subtotals in Subfoot with the column

Copyright © 1996-2020 Information Builders