This is a migrated thread and some comments may be shown as answers.

Filter with OR operator having report parameter

3 Answers 439 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mary
Top achievements
Rank 1
Mary asked on 16 Jun 2016, 10:59 AM

Hi ,

Hi,

I have scenario like i need to filter either using Parameters.SelectAudience.Value( have multiple value) or Parameters.SelectInterviewee.Value ( have multiple value) .Below is the code snippet not working with In operator

 

            this.Filters.Add(new Telerik.Reporting.Filter("=Fields.TrackID In ('=Parameters.SelectAudience.Value')) OR Fields.IntervieweeID " +
            "In ('=Parameters.SelectInterviewee.Value'))", Telerik.Reporting.FilterOperator.Equal, "=True"));

 

Please help , it is urgent

Thanks,

Mary Jain

3 Answers, 1 is accepted

Sort by
0
Accepted
Stef
Telerik team
answered on 17 Jun 2016, 08:29 AM
Hi Mary,

You can build complex Expression part like:
Expression: =Fields.X>0 OR Fields.X<5
Operator: =
Value: =True
The above is a single filter. More details about available operators can be found here.


If it is an emergency, please use the support ticketing system where you can get a guaranteed response by Telerik representative in a time range defined by your support subscription - Support Plans for DevTools.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Mary
Top achievements
Rank 1
answered on 17 Jun 2016, 09:21 AM

Hi,

In Filter Expression how to use ReportParameter value with OR.

Kindly Reply it is urgent

Regards,

 

Mary Jain

 

0
Mary
Top achievements
Rank 1
answered on 17 Jun 2016, 12:16 PM

Hi,

My issue is solved thanks...

Tags
General Discussions
Asked by
Mary
Top achievements
Rank 1
Answers by
Stef
Telerik team
Mary
Top achievements
Rank 1
Share this question
or