COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: mahireddy on 25 Nov 2008 04:26:58 PM

Title: How to create a list report and a crosstab within a report
Post by: mahireddy on 25 Nov 2008 04:26:58 PM
Hello Guys,

I want a report such that in that I should create a list and a crosstab.

when I run it should ask what type of report do you want?

List or Crosstab?

If a select list it should display List one or if I select crosstab the output should be crosstab.

Please suggest me.

Thanks,
Mahi.
Title: Re: How to create a list report and a crosstab within a report
Post by: Suraj on 25 Nov 2008 05:29:45 PM
This is very simple.
Use conditional variable and use it as render variable for list or crosstab.
Title: Re: How to create a list report and a crosstab within a report
Post by: blom0344 on 26 Nov 2008 03:14:55 AM
Depending on your needs you can also create a report page for both list and crosstab and set the rendering on the report page level..
Title: Re: How to create a list report and a crosstab within a report
Post by: lindero on 26 Nov 2008 03:28:50 AM
you can use the render variable for your need, then you don't have to set a style varible and set "box type" = none.