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     Help regarding subtotals

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Help regarding subtotals
 Login/Join
 
Member
posted
i have this requirement in which i have to recompute according one field and in display i dont want to diplay On Field...

eg code is
TABLE FILE STR_HRS
PRINT
X
BY
V_STR
BY
EMPLID
ON V_STR RECOMPUTE
V_WRKDHRS AS 'TOTAL'
This will print the sub total row as
TOTAL Value of V_STR
but my requirement is to print that as
TOTAL DUES which is constant for all subtotals...

any help regarding this will be highly appreciated
 
Posts: 3 | Registered: November 16, 2006Report This Post
Guru
posted Hide Post
I think you are missing some code. I don't understand why you are using RECOMPUTE instead of SUBTOTAL?

Is this what your trying to do:
TABLE FILE CAR
SUM
  RETAIL_COST
BY COUNTRY
BY CAR
ON COUNTRY SUBTOTAL AS 'TOTAL FOR'
END
-RUN


If not can you please explain by using the CAR table.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Member
posted Hide Post
yes i am trying to that only,but my problem is ...if suppose in u r eg country is USA then in the o/p the subtotal will be displayed as
TOTAL FOR USA .....but i dont want this instead i want to display my own text there....e.g
Dues
 
Posts: 3 | Registered: November 16, 2006Report This Post
Guru
posted Hide Post
Use a SUBFOOT instead of a SUBTOTAL.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Report This Post
Member
posted Hide Post
Use dummy define field and sort by that with noprint:

DEFINE FILE CAR
DUMMY/A1='';
END
TABLE FILE CAR
SUM
RETAIL_COST
BY COUNTRY
BY DUMMY NOPRINT
BY CAR
ON DUMMY SUBTOTAL AS 'TOTAL FOR'
END
 
Posts: 3 | Location: Helsinki | Registered: October 27, 2006Report This Post
Member
posted Hide Post
thanks msahl for the solution this is working ...
now i have another query in the same line of the subtotal i want to display the count of the number of rows returned under one of the columns...

any help regd the same will be highly appreciated
 
Posts: 3 | Registered: November 16, 2006Report 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     Help regarding subtotals

Copyright © 1996-2020 Information Builders