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

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Logical Operators (Order of Precedence)

(0) ShareShare
ReportReport
Posted on by 15

I am trying to assist a colleague with a query.

Pgm = SAIL

OR

      AND

             Status Equal Active

             Start Date On Or Before 1/31/2023

     AND

            End Date On Or Before 1/31/2023

     AND

             Start Date On Or Before 1/31/2023

             End Date On or After 2/1/2023

Which order are the 'AND' Clauses resolved?  Top to Bottom?

I have the same question (0)
  • Suggested answer
    Eiken Profile Picture
    Microsoft Employee on at

    Hi,

    In your query, there are three And groups in a Or group.

    The result will satisfy all conditions in any “And Group”.

    So the order about  'AND' Clauses resolved doesn’t really matter, And means all conditions in this group should be satisfied.

  • Suggested answer
    Eiken Profile Picture
    Microsoft Employee on at

    Hi,

    Did my answer help you?

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 69 Super User 2026 Season 1

#2
BillurSamdancioglu Profile Picture

BillurSamdancioglu 55 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans