COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: kvchow on 05 Jan 2015 07:06:58 AM

Title: Problem with Text box Prompt with Multiselect
Post by: kvchow on 05 Jan 2015 07:06:58 AM
Hi all,
i am getting a problem with Text Box Prompt,My User wants to enter Multiple values

I created the text box with multiselect,if my user select more than one value then the report keeps on running and throwing the query execution time out error

If i entered one value the data is populating in less than a minute

Any Help?

Thanks,
kvchow
Title: Re: Problem with Text box Prompt with Multiselect
Post by: Lynn on 05 Jan 2015 08:40:29 AM
What does your filter expression look like? Is your source relational? What does the generated SQL look like?

Title: Re: Problem with Text box Prompt with Multiselect
Post by: Raghuvir on 05 Jan 2015 09:32:12 AM
Quote from: kvchow on 05 Jan 2015 07:06:58 AM
Hi all,
i am getting a problem with Text Box Prompt,My User wants to enter Multiple values

I created the text box with multiselect,if my user select more than one value then the report keeps on running and throwing the query execution time out error

If i entered one value the data is populating in less than a minute

Any Help?

Thanks,
kvchow

Hi,

Have you used the 'IN' operator for your filter expression ?

Regards
Title: Re: Problem with Text box Prompt with Multiselect
Post by: kvchow on 06 Jan 2015 07:38:14 AM
Hi Lynn and raghuvir

My source is Relatinal and filter is having IN operator

Thanks,
Kvchow

Title: Re: Problem with Text box Prompt with Multiselect
Post by: Lynn on 06 Jan 2015 07:53:02 AM
Quote from: kvchow on 06 Jan 2015 07:38:14 AM
Hi Lynn and raghuvir

My source is Relatinal and filter is having IN operator

Thanks,
Kvchow

You will need to provide more information. I previously asked about your generated SQL. Did you compare to see any differences when one value is selected vs multiple values? I also asked what your filter expression looks like although you only commented that it has an IN operator without actually posting any further information on what it looks like.

Perhaps you should work with your DBA to have them monitor what is going on when you run the report with one value vs multiple.
Title: Re: Problem with Text box Prompt with Multiselect
Post by: kvchow on 09 Jan 2015 03:56:51 AM
Hi Lynn,
i created a ticket and asigned to DB2 team,after 4 days i got the reply from those guys,we can't do anything from DB2 side and no need to create any index they said like that

i want to enter multiple course swith in (text box prompt) to see which one is completed with in the given date range,if i enter more than one its keep on running and giving me the query execution time exceeds more than 2700 seconds

Any idea?

Thanks,
Kvchow



Title: Re: Problem with Text box Prompt with Multiselect
Post by: BigChris on 09 Jan 2015 04:15:53 AM
Hi kvchow,

Can you copy and paste your filter expression please? I imagine it's something along the lines of:

[Course Name] in ?promptCourse?

but it will help if we can see the actual text.

C