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     [SOLVED] Display subtotal in BY field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Display subtotal in BY field
 Login/Join
 
Platinum Member
posted
This is my example using BY for Name and ValueTable1:
 
Name   ValueTable1     ValueTable2
AAA             11             11
                               22
BBB             22             11
                               22

When I add Subtotal, the result will be:
Name   ValueTable1     ValueTable2
AAA             11             11
                               22
Total                          33   
BBB             22             11
                               22
Total                          33

How can I display subtotal for ValueTable1 like below:
Name   ValueTable1     ValueTable2
AAA             11             11
                               22
Total           11             33   
BBB             22             11
                               22
Total           22             33
 

Thanks in advance.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 125 | Registered: June 17, 2013Report This Post
Silver Member
posted Hide Post
ON NAME SUBTOTAL


Prod/Dev: WebFOCUS 8.0.06 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.06 on Windows 7
 
Posts: 31 | Registered: April 22, 2013Report This Post
Virtuoso
posted Hide Post
Hi Hainguyen,

See an example using the CAR file:
  
-* File HAINGUYEN01.fex
DEFINE FILE CAR
SEAT_TYPE/A12=DECODE SEATS(2 SPORT 4 FAMILY 5 WAGON ELSE CAR);
END
TABLE FILE CAR
PRINT 
COMPUTE TSEATS/I3S=IF SEATS NE LAST SEATS THEN SEATS ELSE 0; AS SEATS
SALES
BY SEAT_TYPE SUBTOTAL
BY SEATS NOPRINT
ON TABLE NOTOTAL
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
 INCLUDE=ENDEFLT, $
ENDSTYLE
END


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Platinum Member
posted Hide Post
Thanks Danny, this is what I am looking for.


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 125 | Registered: June 17, 2013Report 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     [SOLVED] Display subtotal in BY field

Copyright © 1996-2020 Information Builders