web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Advanced Find Conditions

(0) ShareShare
ReportReport
Posted on by

Is there any way to build a single condition for a text field using the OR clause as opposed to building a new row for each one?

What I have to do today:

        City Equals Boston

OR   City Equals New York

        City Equals San Francisco

What I would like to do:

City Equals Boston or New York or San Francisco

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Abed Haniyah Profile Picture
    4,287 on at

    Hello Ben Markland,

    There is no way to do this a text field, If your filed is a Lookup filed or Option Set, then you can do it :)

    Hope this helps,

    Abed.

  • Community Member Profile Picture
    on at

    Hi Ben,

    Advanced Find user interface doesn't support to build "in" operator for text field, however if you really need to build this query you can directly build fetch xml queries 

    Example 

    <fetch mapping="logical" count="50" version="1.0">
    <entity name="entity">
    <filter type="or">
    <condition attribute="description" operator="in">
    <value>123</value>
    <value>456</value>
    <value>789</value>
    </condition>
    </filter>
    </entity>
    </fetch>

    Regards,

    Tenison

  • Community Member Profile Picture
    on at

    Hello Ben,

    I would like to share you this useful links which talks about the new Operato in the Advanced Fin with Dynamics CRM 2015.

    + www.powerobjects.com/.../new-operators-advanced-find-dynamics-crm-2015

    It is important to mention that you can use expression (under and not-under)

    Best Regards,

  • Verified answer
    Aileen Gusni Profile Picture
    44,524 on at

    ben,

    The OOB Advanced find doesn't support it.

    If you use that, you need to do query in advanced find using one by one you defined City equals Boston, City equals NY, City equals SF, and so on then you group in OR.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans