COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: pravin.cognos on 02 Mar 2012 02:15:47 AM

Title: How to change the heading in crosstab node member
Post by: pravin.cognos on 02 Mar 2012 02:15:47 AM
Dear Gurus

I have created a Cross tab report and have totaled the columns. I need to change the heading of the Crosstab Node member from "Total(PY)" to year, which will be dynamically selected by the user in the prompt page. I tried Unlocking, Pulling a text item into the Heading of the column and changing the Text source Type as Data Item Value. I have pointed this to a data item which stores the "Selected Year" value. But I am getting blank values.

Please help !!!

Thanks
Pravin
Title: Re: How to change the heading in crosstab node member
Post by: Grim on 02 Mar 2012 07:57:00 AM
Is this maybe what your looking for?

Dynamic Columns
http://www.ibm.com/developerworks/data/library/cognos/reporting/dynamic_report_design/page570.html
Title: Re: How to change the heading in crosstab node member
Post by: pravin.cognos on 05 Mar 2012 12:23:45 AM
Heyy Grim

Thanks for the reply. I am looking to change the Title of the column in Crosstab as per the user selection. Please have a look at the screen shot. Hope it make things more clear..

Regards
Pravin.
Title: Re: How to change the heading in crosstab node member
Post by: barrysaab on 05 Mar 2012 09:09:23 AM
try to use crosstab space.Thanks
Title: Re: How to change the heading in crosstab node member
Post by: pravin.cognos on 06 Mar 2012 12:17:59 AM
Thanks for the reply, Barrysaab..

But that didnt work out :( I even tried with the Crosstab space with the text but it is showing blanks. I tried to create a dataitem with paramdisplay values of the prompt values and placed it in the rows but in the output, I got those values in the Row heading itself but not in the intersection :(

Please let me know if there are any other options to get the prompt values in Crosstab intersections..

Pravin

Title: Re: How to change the heading in crosstab node member
Post by: pravin.cognos on 07 Mar 2012 01:44:37 AM
Any suggestions !!!!

Pravin
Title: Re: How to change the heading in crosstab node member
Post by: pricter on 07 Mar 2012 06:19:17 AM
In the "text source" select report expression and place each parameter for each column
Title: Re: How to change the heading in crosstab node member
Post by: pravin.cognos on 15 Mar 2012 05:13:02 AM
Thanks for the reply, Pricter..

But the values I need here is text value "Totals" its not available in the parameter value.  :(

Regards
Pravin
Title: Re: How to change the heading in crosstab node member
Post by: blom0344 on 15 Mar 2012 06:09:10 AM
Can't you rebuild the crosstab by adding a dataitem with value 'Totals' and start with CTRY_Name in the columns, nest the new dataitem to the left of it and finally nest the year UNDER these nodes?
The node for 'Totals' should automatically yield values summarized for all countries per year..