Filter with OR operator having report parameter

4 posts, 1 answers
  1. Mary
    Mary avatar
    10 posts
    Member since:
    Aug 2014

    Posted 16 Jun Link to this post

    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

  2. Answer
    Stef
    Admin
    Stef avatar
    3047 posts

    Posted 17 Jun Link to this post

    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
  3. DevCraft banner
  4. Mary
    Mary avatar
    10 posts
    Member since:
    Aug 2014

    Posted 17 Jun in reply to Stef Link to this post

    Hi,

    In Filter Expression how to use ReportParameter value with OR.

    Kindly Reply it is urgent

    Regards,

     

    Mary Jain

     

  5. Mary
    Mary avatar
    10 posts
    Member since:
    Aug 2014

    Posted 17 Jun Link to this post

    Hi,

    My issue is solved thanks...

Back to Top