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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Moving the subtotal over one cell from the data in Excel

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Moving the subtotal over one cell from the data in Excel
 Login/Join
 
Member
posted
I am trying to do something that I would think is simple, but am having a great deal of difficulty. In an Excel report, I would like the subtotal amount to appear one column over instead of right under the data. Is there a simple way to do this?

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


Webfocus 7.65
UNIX
 
Posts: 20 | Location: Rochester, New York | Registered: June 03, 2008Report This Post
Expert
posted Hide Post
I think you'll have to use SUBFOOT and spot markers to align your subtotal under the column you want.


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
Virtuoso
posted Hide Post
What do you mean by "one column over"?

If what you need is the subtotal to appear *before* the group of data to which it corresponds then you cannot accomplish with SUBTOTAL. Only SUBHEAD would help you there.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Member
posted Hide Post
I haven't worked much with spot markers. Could you please give me a simple example.


Webfocus 7.65
UNIX
 
Posts: 20 | Location: Rochester, New York | Registered: June 03, 2008Report This Post
Expert
posted Hide Post
TABLE FILE CAR
SUM
SALES
BY COUNTRY
ON TABLE SUBFOOT
"<+0> <+0> <ST.SALES"

ON TABLE SET STYLE *
TYPE=TABFOOTING, HEADALIGN=BODY, $
ENDSTYLE

ON TABLE PCHOLD FORMAT EXL2K
END


<+0> is a spot marker, it works in conjunction with headalign.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Can this be done for a subhead? What would the stylesheet entry be?


Webfocus 7.65
UNIX
 
Posts: 20 | Location: Rochester, New York | Registered: June 03, 2008Report This Post
Member
posted Hide Post
I did get it working....Thanks to all of you for your help!


Webfocus 7.65
UNIX
 
Posts: 20 | Location: Rochester, New York | Registered: June 03, 2008Report This Post
Expert
posted Hide Post
I'm happy you tried and succeeded.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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] Moving the subtotal over one cell from the data in Excel

Copyright © 1996-2020 Information Builders