COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Cognos91 on 30 Oct 2007 10:05:11 AM

Title: Random Sampling
Post by: Cognos91 on 30 Oct 2007 10:05:11 AM
I would like to know if you could perform random sampling in report studio; it could be either the user selecting a sample of data (say a number) or the query itself calculates a random sample.

Thanks.
Title: Re: Random Sampling
Post by: COGNOiSe administrator on 31 Oct 2007 10:07:55 AM
Sure, that should be possible with a DB side random function. BUt it would be specific to your database. Various DB systems approach RANDOM() differently.