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     Position row-total in report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Position row-total in report
 Login/Join
 
Member
posted
I wonder if there is a way to position the row-total column on a different position then at the end of a report.
F.e.
C1 C2 C3 Total
xxxxxx 1 1 1 3

Can I position the Total column as the first column.
Total C1 C2 C3
xxxxxx 3 1 1 1

Atilla

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


Member of Benelux
Usergroup
 
Posts: 20 | Registered: November 02, 2006Report This Post
Virtuoso
posted Hide Post
Try this:
TABLE FILE CAR
SUM RCOST DCOST ROW-TOTAL
BY COUNTRY
ON TABLE SET STYLE *
TYPE=REPORT, COLUMN=C3, SEQUENCE=1,$
TYPE=REPORT, COLUMN=C1, SEQUENCE=9,$
TYPE=REPORT, COLUMN=C2, SEQUENCE=8,$
TYPE=REPORT, COLUMN=B1, SEQUENCE=12,$
ENDSTYLE
END


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Expert
posted Hide Post
Use the SEQUENCE style attribute:

TABLE FILE CAR
SUM
SALES
RETAIL
ROW-TOTAL
BY COUNTRY
BY MODEL

ON TABLE SET STYLESHEET *
FONT='ARIAL', SIZE=8, $
TYPE=REPORT, COLUMN=ROWTOTAL, COLOR=RED, SEQUENCE=1, $
END


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
Hi Francis, Alan,

None of the solutions you provided works.

What I did not tell you (I just forgot it) is that it is an ACROSS report.

Your suggestions are welcome


Member of Benelux
Usergroup
 
Posts: 20 | Registered: November 02, 2006Report This Post
Virtuoso
posted Hide Post
You might have to be a bit more creative then. If it is a simple across, then this approach may work:
TABLE FILE CAR
SUM RCOST AS 'TOTAL' BY COUNTRY
SUM RCOST
BY COUNTRY
ACROSS SEATS
ON TABLE SET STYLE *
TYPE=REPORT, COLUMN=C1, SEQUENCE=1,$
ENDSTYLE
END


Otherwise we might have to rely on Francis to come up with something from his repertoire.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report 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     Position row-total in report

Copyright © 1996-2020 Information Builders