Focal Point
[CLOSED] Create one merged heading on top of multiple columns

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9927010776

June 29, 2015, 04:20 PM
Ryan K.
[CLOSED] Create one merged heading on top of multiple columns
Anyone know of a way to merge a heading on top of multiple columns? I'm displaying data for multiple years in different categories. Right now it looks like this:

PRICE INCREASE | PRICE INCREASE | PRICE INCREASE
1 | 2 | 3


And I would like it to look like this to save some real estate on a report.

PRICE INCREASE
1 | 2 | 3

Any idea would be appreciated. FYI they are being outputted as HTML if that makes a difference. Thank you in advance!

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


WebFOCUS 8
Windows, All Outputs
June 29, 2015, 05:00 PM
eric.woerle
Is Price Increase a header? or an across field? If its a Header or Subhead, you can use the COLSPAN command in the Style Sheet to merge multiple columns.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
June 29, 2015, 05:16 PM
Ryan K.
I have multiple columns. Each column contains a category and a year. So price increase 1 is a column heading. Price increase 2 is the next column heading. Price increase 3 is the final column heading. I just want 1 2 and 3 all to have price increase merged as a heading. So if you looked at it in excel A1, A2 A3 would all be merged with price icnrease and b1, b2, b3 would be the individiual year number with data listed below.


WebFOCUS 8
Windows, All Outputs
June 29, 2015, 05:24 PM
Francis Mariani
Ryan, within eric's question is a clue. The only way to have column titles span more than one column is to put the column titles in the HEADING or SUBHEAD and use HEADALIGN=BODY and COLSPAN. Suppress the real report columns by using COLUMN_NAME AS ''.


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
June 29, 2015, 05:27 PM
Francis Mariani
An example: http://forums.informationbuild...=626103373#626103373


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