COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Rizwan on 13 Nov 2012 12:21:54 PM

Title: Limited Rows in Report
Post by: Rizwan on 13 Nov 2012 12:21:54 PM
In the report, is there any way to setup a limitation of rows. As known, Package allows to setup limitation of rows, but this setting is for all users.
Appreciated, Thanks..
Title: Re: Limited Rows in Report
Post by: Bark on 14 Nov 2012 03:23:37 AM
Hi,

You could filter the query with a "running-count". Add a detail filter with: running-count([oneOfTheFields]) < N.

Regards,

Bark
Title: Re: Limited Rows in Report
Post by: blom0344 on 14 Nov 2012 07:45:20 AM
You'd better think this through for a moment. What good would it do to generate partial results? What is the reason to set this limit? This could be a major flaw leading to catastrophic decisions based on partially produced output..
Title: Re: Limited Rows in Report
Post by: Rizwan on 18 Dec 2012 11:47:21 AM
The idea was to view the result with limited data, as the data could be in million, and before running the query for full data view the limited data to ensure the query is responding with correct data and formating. So decided to run the query with the limited Date Range to view the data.
Thanks to all.
Title: Re: Limited Rows in Report
Post by: MFGF on 18 Dec 2012 12:13:32 PM
This facility does exist, if the modeller has defined Design Mode filters on your query subjects in the model. Select the dropdown next to the run button in Report Studio and select Run Options, then in the Data Mode dropdown, select 'Limited Data'. This will activate the Design Mode filters and hopefully limit the data in your report (assuming they are what you need).

Cheers!

MF.