COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: kmuller on 09 Oct 2008 11:34:33 AM

Title: parameter usage in filters
Post by: kmuller on 09 Oct 2008 11:34:33 AM
I am trying to pass 2 parameters to a filter for use.

1 paramater is the operator and the other paramter is the value being compared against.

So, I have field name ?op_param? ?value_param? in the filter.

This does not validate.  Is there a way to get this to work?

I need the operator to be dynamic based on what the user selects, and the compared value to also be dynamic based on user selected.

Can I do this?

I am using 8v3 SP2.

I found that you cannot use an if stmt in a filter, but is there another option?
Title: Re: parameter usage in filters
Post by: Suraj on 09 Oct 2008 02:35:30 PM
Refer to report studio user guide on proper syntax.
That's not the way to use a prompt filter.