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     [CLOSED] Grand Total on Group By

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Grand Total on Group By
 Login/Join
 
Gold member
posted
All,

TABLE FILE CAR
PRINT SALES
BY COUNTRY
BY CAR
ON TABLE RECOMPUTE
END

I need to know, how to get a grand total for each car?

This message has been edited. Last edited by: Kerry,


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
 
Posts: 79 | Location: New York | Registered: February 04, 2010Report This Post
Gold member
posted Hide Post
nsk,

you can do this very easily using the GUI. Open up the report painter and try it in there by looking at Subtotals and then look at the code. That will give you your answer.

Eric


Eric Woerle
WF 7.6.7 Reportting Server
ETL 7.6.10
Dev Studio 7.6.7
 
Posts: 95 | Registered: July 31, 2007Report This Post
Expert
posted Hide Post
TABLE FILE CAR
PRINT SALES
BY COUNTRY
BY CAR SUBTOTAL

END

Eric is correct. Here is the code that might be generated. Uber easy.

Note: My original post had copied the original code from the poster. I have corrected it. Frowner

This message has been edited. Last edited by: GinnyJakes,


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
Change the ON TABLE RECOMPUTE to ON CAR SUB-TOTAL.

Make sure you use the hyphenated version of SUB-TOTAL and not SUBTOTAL.

Or did you mean totals only on Car and Report and not on Country? If so use the non-hyphenated version Smiler

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
Well, this was elementary, straight out of the book.
However, maybe the real question that "nsk" wanted to ask is:
  
TABLE FILE CAR
PRINT SALES
BY CAR SUBTOTAL
BY BODYTYPE
END

and also get at the end a list of BODYTYPEs with BODYTYPE totals for the whole file.
Or am I way off?


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Grand Total on Group By

Copyright © 1996-2020 Information Builders