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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subtract from total
 Login/Join
 
<eab>
posted
In my report I need to create line that is difference between Company total and few subtotals for customers.

Result must be as follow:

customer1 ..........( data from file)
customer2 ..........( data from file)
subtotal for both customers
customer3 ..........( data from file)
customer4 ..........( data from file)

Independent customer line = subtract subtotal for both customers and customer4 from Company totals

Company totals ..........( data from file)

Please, give me a hint!
 
Report This Post
Platinum Member
posted Hide Post
If you know the identity of all of the customers
who will be in the report you can specify each of
them in a ROW controlled report using the FOR
option. eg..

SUM VALUE FOR CUSTOMER
NAME1 OVER
NAME2 OVER
RECAP TOTAL= R1+R2 ; OVER
NAME3 OVER ...

This is the FML option, but can be used with any data. In Dev Studio after picking the FOR field
click the 'Matrix' button. Or read the documentation for the FML .
 
Posts: 226 | Registered: June 08, 2003Report This Post
<WFUser>
posted
This also might work. Bucket the values in a DEFINEd field and then sort by that with a NOPRINT and SUBTOTAL. Example.

DEFINE FILE CAR
FLAG/IA10 = IF COUNTRY EQ 'ENGLAND' OR 'ITALY' THEN 'Group 1' ELSE 'Group 2';
END
TABLE FILE CAR
SUM RCOST DCOST
BY FLAG NOPRINT SUBTOTAL
BY COUNTRY
END
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders