COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: jd on 17 Dec 2009 08:19:00 AM

Title: In the prompt IN function is not working for report studio report.
Post by: jd on 17 Dec 2009 08:19:00 AM
Hello Friends,

I have a report studio report with 10 columns and 2 prompts.
when I am testing the report with prompts report is running forever it is not prompting to enter the values.

example prompt is [Cog] in(?Cog?)

one more importent thing, if I give the prompt like [Cog]  = '3C'  report is showing data

why it is happening like that, looks like in the prompt IN is not working. please any body can help me??
Title: Re: In the prompt IN function is not working for report studio report.
Post by: IceTea on 17 Dec 2009 09:11:56 AM
Hi,

"in" doesn't work with parameters.   :o
Title: Re: In the prompt IN function is not working for report studio report.
Post by: elsolo21 on 17 Dec 2009 09:16:36 AM
Don't you just need to make sure your prompt is set up for 'multi-select'?  I use 'IN' with my prompts/parameters all the time.

-Eric
Title: Re: In the prompt IN function is not working for report studio report.
Post by: IceTea on 17 Dec 2009 09:20:24 AM
i'm sorry, "like" doesn't work with multiselect-parameters, "in" does good!
Title: Re: In the prompt IN function is not working for report studio report.
Post by: MFGF on 17 Dec 2009 09:27:55 AM
Hi,

A couple of questions:

Have you physically defined a prompt in your report, or are you relying on your parameter resulting in an auto-generated prompt?

How many distinct values are there for the prompted item?  How long does it take your database to return a list of these distinct items?

MF.

Title: Re: In the prompt IN function is not working for report studio report.
Post by: Gopinath on 18 Dec 2009 05:35:00 AM
If your prompt values comes from a query, check the performance of that query. this is nothing to do with IN operator.