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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

What is the limit for the amount of values in the 'In' filter in Fetch XML?

(0) ShareShare
ReportReport
Posted on by

Does anyone know the limit for the amount of values that can be put in the 'In' filter in Fetch XML?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vijay Waghmare Profile Picture
    on at

    Hi,

    Please refer below URLs for help.

    social.technet.microsoft.com/.../12601.crm-2011-timeouts-and-limits.aspx

    blog.halan.se/.../CRM-Fetch-XML-Size-Limit.aspx

    Thanks,

    Vijay

  • Verified answer
    Community Member Profile Picture
    on at

    The "In" filter should translate directly to SQL's "In" statement, and according to this reference, there is only the limitation of the query's total size:  stackoverflow.com/.../mysql-in-condition-limit

    The "condition" limitation, as identified in the materials Vijay presented, would apply if you were simulating "In" with a bunch of "Or" grouped conditions--which is terrible form--and I suspect you knew that when asking about "In".

    I've used "In" successfully up to 8000+ references; and haven't found a limit yet.  Again, according to the SQL documentation, the limit will likely be with the total size of the query message, rather than the number entries in the "In" set.

  • suresh maurya Profile Picture
    630 on at

    For testing of FetchXML, you can test here online http://msxrmtools.com

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans