COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: semsel on 11 Apr 2013 06:05:18 AM

Title: How to display text in Column heade in two lines for excel format?
Post by: semsel on 11 Apr 2013 06:05:18 AM
I have a crosstab column whose title is defined by a report expression

substring (  [Query1].[Grade Header]  , position('G',  [Query1].[Grade Header]  ),7)+   
substring (  [Query1].[Grade Header]  ,2, position('C',  [Query1].[Grade Header]  )-3)

which gives  Grade A Excellent, Grade B Good etc...

I want to display this in two separate lines in Excel
for eg:

Grade A         |       Grade B
Excellent        |        Good

Like that... Is there any possible way to crack this?
Title: Re: How to display text in Column heade in two lines for excel format?
Post by: Lynn on 11 Apr 2013 12:49:47 PM
Try unlocking the report and adding either two blocks (or a two-row table). Then include your expressions separately in each block (or row).