COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: richiearora on 09 Mar 2011 04:01:29 AM

Title: Help Required on the Prompt
Post by: richiearora on 09 Mar 2011 04:01:29 AM
Hi All,

I have created a optional prompt in my Report,

In my report i have 2 optional prompts and 1 Optuonal, When i dont choose any value in the optional prompt and click on submit Buttn,

The another page appears which ask me to enter the value in the Data Item which i used for that optional promot.

I have no clue why is it asking same.

Please help............
Title: Re: Help Required on the Prompt
Post by: richiearora on 09 Mar 2011 04:02:59 AM
Sorry 2 Mandatory prompts and 1 Optional promopt
Title: Re: Help Required on the Prompt
Post by: jahnavi on 09 Mar 2011 04:13:57 AM
One quick Guess  is if you are using that prompt in multiple queries the name of the prompt you have given is different . May be for this reason its asking the same prompt twice
Title: Re: Help Required on the Prompt
Post by: PRIT AMRIT on 09 Mar 2011 04:16:48 AM
also make sure in all your queries the the filter properties set as 'Optional'
Title: Re: Help Required on the Prompt
Post by: richiearora on 09 Mar 2011 04:32:18 AM
Jahanvi- i am using the Same Data item in 3 of my Queries.

Now i dint get your point what you meant?

"is if you are using that prompt in multiple queries the name of the prompt you have given is different"

prit:

Where do i find that property?

Title: Re: Help Required on the Prompt
Post by: PRIT AMRIT on 09 Mar 2011 04:40:48 AM
Find... If it's set to Required then it will prompt for a value.
Title: Re: Help Required on the Prompt
Post by: jahnavi on 09 Mar 2011 04:42:20 AM
ok.. Suppose in my first Query [dataitem1]=?p_select? and in the second [dataitem1]=?p_seect?

then it will ask twice
Title: Re: Help Required on the Prompt
Post by: richiearora on 10 Mar 2011 04:06:03 AM
Hi all,

I have this Data item in 3 of my Source tables.

I am using Three Filters on This 3 Data items.

First Filter:

[Online].[Exception Update Audit].[Scenario Id] = ?p_ScenarioDesc?

Second:

[Online].[Exception Update Audit].[Scenario Id] = ?Scenario ID?

[Online].[Exception Update Audit].[Scenario Id] = ?Scenario ID?

Now when i Run the report it Ask me

Scenario ID Mandatory prompt, Please enter number