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     Avoid displaying Subtotal field values in the break-up

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Avoid displaying Subtotal field values in the break-up
 Login/Join
 
Gold member
posted
On column3 Subtotal as ''

The above will give subtotal based on break-up field. Can I avoid showing the column3 value?

Column1 Column2 column3 column4 count
Test1 test2 test3 test4 1
.........................test4 1
test3.......................... 2

Can I avoid displaying value of break-up column in subtotal?
i.e., test3 should not be displayed as below

Column1 Column2 column3 column4 count
Test1 test2 test3 test4 1
.........................test4 1
..................................2
............... ..test4 ............
 
Posts: 77 | Registered: December 22, 2004Report This Post
<WFUser>
posted
ON COLUMN3 SUBFOOT
" <ST.COLUMN3 "

This will work but positioning will then be an issue. If this is PDF you can use spot markers or POSITION in the stylesheet for HTML.
 
Report This Post
Gold member
posted Hide Post
You could also add a WHERE TOTAL that is always true. Ex:

SUM
COMPUTE DUMMY/I1 = 1; NOPRINT

...

ON COL3 SUBTOTAL ... WHERE TOTAL DUMMY GE 1;

By default, the field value is omitted when you have a WHERE TOTAL... That what I always do.
 
Posts: 87 | Location: Montreal, QC, Canada | Registered: September 03, 2004Report This Post
Gold member
posted Hide Post
Thank you. Where Total worked.
 
Posts: 77 | Registered: December 22, 2004Report This Post
Gold member
posted Hide Post
Usage of Conditional subtotal with Where Total is not working.

SUM
..
COMPUTE test/i10=1;
ON column Subtotal as ' ' when column NE ' '
WHERE TOTAL test GE 1

END

If the column value is NULL, I don't want to display the Subtotal. Otherwise I want to display without column value.

How do I do it?
 
Posts: 77 | Registered: December 22, 2004Report This Post
Gold member
posted Hide Post
Why don't you just specify the columns you want a subtotal on?

Ex:
ON COL3 SUBTOTAL COL1 COL2 COL3 COL7 COL9
WHERE TOTAL DUMMY GE 1;

in this example, COL4 COL5 COL6 and COL8 will not be subtotaled...
 
Posts: 87 | Location: Montreal, QC, Canada | Registered: September 03, 2004Report 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     Avoid displaying Subtotal field values in the break-up

Copyright © 1996-2020 Information Builders