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 365 | Integration, Dataverse...
Suggested Answer

API Request for Query data from multi-select picklists

(2) ShareShare
ReportReport
Posted on by 4
I'm trying to understand how to correctly Query (let's say Contacts) the Multi select Picklists fields using the API? Yes, I have the documentation from https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/multi-select-picklist?view=op-9-1#query-data-from-multi-select-picklists but I don't fully understand how to use `Equal`. Also, can someone share how to use `Contains` Here is an example of my request that fails. pic
 
GET Request - /accounts?%24filter=new_testmultifield%20eq%201
 
I got
 
{  /error/: {    /code/: /0x0/,    /message/: /A binary operator with incompatible types was detected. Found operand types 'Edm.String' and 'Edm.Int32' for operator kind 'Equal'./  }}
I have the same question (0)
  • Suggested answer
    Guido Preite Profile Picture
    54,086 Moderator on at
    My tool Dataverse REST Builder can show you the syntax on how to deal with multi-select optionsets (Choices)
    If you don't want to install the tool you can just use the online demo, if you select request type "Retrieve Multiple" and the table "Custom Table" there is a field called "Choices" where you can add the filter Equals and Contains Values, they use the Microsoft.Dynamics.CRM.In and Microsoft.Dynamics.CRM.ContainsValues operators

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
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 67

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans