COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: kiran04 on 08 Feb 2014 07:54:30 AM

Title: query filtering from value prompt
Post by: kiran04 on 08 Feb 2014 07:54:30 AM
Hello All,
I have a value prompt (checkbox) and i should not show one of the values for that prompt.
Say i have total 4 values(A, B, C, D) and i should not show say(D) value.
The requirement needs that the report should also bring data for that D value along with all other values even though we do not show
the value(D) in prompt.
The issue is (if we only showing A,B,C Values ) in prompt, report query also brings down those data only not for D value
because we are not selecting that value in the prompt.
Any ideas or suggestions are most welcome.

thank you,
KWAS04
Title: Re: query filtering from value prompt
Post by: HalfBloodPrince on 09 Feb 2014 12:31:06 AM
Try this
in prompt query put filter as [Data Item]<>d so prompt will show only  A,B and C

In report query put filter
[Data Item] in ?_Parameter? or [Data item]='D'
Title: Re: query filtering from value prompt
Post by: kiran04 on 09 Feb 2014 01:51:56 PM
Thank you, it worked.. :)

KWAS04