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] Heading Excel [two Heading lines]

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Heading Excel [two Heading lines]
 Login/Join
 
Platinum Member
posted
Hi,

I am separating my Header with a ','. When I run my fex, the separated heading is in the same Cell in Excel.
Does soemone know how I can split the heading into two cells?

Thanks.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 177 | Registered: October 17, 2017Report This Post
Guru
posted Hide Post
use <+0> in combination with HEADALIGN:

TABLE FILE CAR
BY COUNTRY
BY CAR
SUM SALES
HEADING 
"TEST <+0> TWO"
ON TABLE PCHOLD FORMAT EXL07
ON TABLE SET STYLE *
	HEADALIGN=BODY,$
ENDSTYLE
END  


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Platinum Member
posted Hide Post
Thanks but it's not working. it just writes the <+0> into the Header, that's it... Ideas?


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 177 | Registered: October 17, 2017Report This Post
Guru
posted Hide Post
Did you try the example I've provided?


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Platinum Member
posted Hide Post
I did, but I think I didn't explaine it correcty.

it' s the "as 'whatever <+0> the next cell underneath the whatever'"

not the heading..


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 177 | Registered: October 17, 2017Report This Post
Member
posted Hide Post
Try this:
TABLE FILE CAR
BY COUNTRY
BY CAR
SUM SALES
HEADING
"TEST"
"TWO"
ON TABLE PCHOLD FORMAT EXL07
ON TABLE SET STYLE *
HEADALIGN=BODY,$
ENDSTYLE
END


WebFOCUS 8.2.01M3
Windows, All Outputs
 
Posts: 14 | Location: Minnesota | Registered: August 01, 2016Report This Post
Virtuoso
posted Hide Post
Adding a comma is like you are adding a carriage return/line feed in the text.

To have it split into two cells you need two rows in your header such as Lisa sample.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Platinum Member
posted Hide Post
@Lisa Lindquist: Like I said, it's not hte heading, it's the title!!!

so my value as 'text 1, text 2'


WebFOCUS 8.1.05
Windows, All Outputs
 
Posts: 177 | Registered: October 17, 2017Report This Post
Virtuoso
posted Hide Post
jenni,

I don't understand why you would like to accomplish such a thing.
Having column's title in two cells will make you not able to use the Excel feature properly such as filters, pivot table, slicer, etc.

Can you explain you goal by doing that ?


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Expert
posted Hide Post
quote:
it's not the heading, it's the title!!!

I think what Lisa's saying is in order to do what you want, the final display showing the 'Column Titles' on two lines, you need to use two heading lines instead of the 'Column Titles'.

So, you would use a "AS ''" on all you PRINT, SUM... fields, and use the spot makers, as Frans showed, for alignment of those 'titles' over the associated 'columns.

I've used this methodology countless times, or more times than I care to count.

So, Yes, We can do this in WebFOCUS! ~ Doug

PS: Keep in mind what Martin Y said. With the caveat that you can filter on the second line, awkward, but it's doable.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 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     [CLOSED] Heading Excel [two Heading lines]

Copyright © 1996-2020 Information Builders