COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: jd on 25 Oct 2010 02:21:54 PM

Title: How to display the row number bottom of the detail report.
Post by: jd on 25 Oct 2010 02:21:54 PM

How to display the row number in the detail report.

For Ex: My parent report has 10 rows of data and if I click on first row in the main report,
in the detail report bottom of the report I want to see like Row 1

Any idea how to get it..
Title: Re: How to display the row number bottom of the detail report.
Post by: cognostechie on 25 Oct 2010 02:47:37 PM
Try passing the Data Item value of the Row Number to the child report and display the Parameter Value using ParamDisplayValue function at the bottom of the report in a singleton.
Title: Re: How to display the row number bottom of the detail report.
Post by: jd on 25 Oct 2010 03:08:03 PM
Hi cognostechie,

wiht this way in the detail report I can see the row number end if the report as I wanted and it is not displaying any data for that row it is showing only  the column headers.
Title: Re: How to display the row number bottom of the detail report.
Post by: cognostechie on 26 Oct 2010 04:13:13 PM
I thought your requirement was only to display the row number, not the data.

Cognos is not working on my laptop as I blew away IIS but there is another post here on how to drill down using the row number..