{"id":24754,"date":"2020-09-16T11:58:42","date_gmt":"2020-09-16T11:58:42","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=24754"},"modified":"2020-09-17T07:59:06","modified_gmt":"2020-09-17T07:59:06","slug":"field-comparisons-now-available-for-queries-in-power-platform","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/","title":{"rendered":"Field Comparisons now available for Queries in Power Platform"},"content":{"rendered":"<p style=\"text-align: justify;\">Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for discussion)<\/p>\n<p style=\"text-align: justify;\">The FetchXML syntax is not as extensive and flexible as SQL syntax and had its limitations. One of them being when you provide filter conditions, the value on the right hand side of the condition always had to be a constant static value<\/p>\n<p>i.e address1_city = \u2018Mumbai\u2019<\/p>\n<p>&lt;condition attribute=&#8217;address1_city&#8217; operator=&#8217;eq&#8217; value=&#8217;Mumbai&#8217; \/&gt;<\/p>\n<p style=\"text-align: justify;\">If we wanted to list out contacts that do not have the same city in the bill-to and ship-to addresses, we were looking for a query in the form of<\/p>\n<p>Select * from contact<\/p>\n<p>where contact.address1_city &lt;&gt; contact.address2_city<\/p>\n<p style=\"text-align: justify;\">This had not been possible until now as it was comparison between values in fields rather than constant or static values.<\/p>\n<p>With the new enhancements to FetchXML, it is now possible to frame this query<\/p>\n<p>&lt;fetch version=&#8221;1.0&#8243; output-format=&#8221;xml-platform&#8221; mapping=&#8221;logical&#8221; distinct=&#8221;false&#8221; &gt;<\/p>\n<p>&lt;entity name=&#8221;contact&#8221; &gt;<\/p>\n<p>&lt;attribute name=&#8221;fullname&#8221; \/&gt;<\/p>\n<p>&lt;attribute name=&#8221;address1_city&#8221; \/&gt;<\/p>\n<p>&lt;attribute name=&#8221;contactid&#8221; \/&gt;<\/p>\n<p>&lt;filter type=&#8221;and&#8221; &gt;<\/p>\n<p><em><strong>&lt;condition attribute=&#8221;<\/strong> <\/em><strong><em>address1_city&#8221; operator=&#8221;eq&#8221; valueof=&#8221;address2_city&#8221; \/&gt;<\/em><\/strong><\/p>\n<p>&lt;\/filter&gt;<\/p>\n<p>&lt;\/entity&gt;<\/p>\n<p>&lt;\/fetch&gt;<\/p>\n<p style=\"text-align: justify;\">If you notice to use comparison between fields, we are using <strong>valueof<\/strong> instead of <strong>value<\/strong> that we have traditionally used when comparing with static values<\/p>\n<p>The field comparison supports the following operators<\/p>\n<ul>\n<li>Equal (eq)<\/li>\n<li>NotEqual (neq)<\/li>\n<li>GreaterThan (gt)<\/li>\n<li>GreaterEqual (ge)<\/li>\n<li>LessThan (lt)<\/li>\n<li>LessEqual (le)<\/li>\n<\/ul>\n<p><em>&lt;condition attribute=&#8221;FirstAttributeLogicalName&#8221; operator=&#8221;OperatorKeyword&#8221; <strong>valueof<\/strong>=&#8221;SecondAttributeLogicalName&#8221; \/&gt;<\/em><\/p>\n<p>OperatorKeyword will have one among values from the list \u2013 eq,neq,gt,ge,lt,le<\/p>\n<p>Here is a table of the field types supported by each operator<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-24762 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png\" alt=\"C:\\Users\\Saksh\\Downloads\\Inogic\\Inogic Blog Posts\\16th Sept\\field types supported by operator table.png\" width=\"785\" height=\"316\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png 785w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table-300x121.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table-768x309.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table-660x266.png 660w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Apart from FetchXML, if you would like to use the query expression, you could use the following code for field comparison.<\/p>\n<p style=\"text-align: justify;\">var query = new QueryExpression(&#8220;nc_devices&#8221;);<\/p>\n<p>query.ColumnSet.AddColumns(&#8220;nc_faultycount&#8221;, &#8220;nc_propercount&#8221;);<\/p>\n<p>query.Criteria.Conditions.Add(new ConditionExpression(&#8220;nc_faultycount&#8221;, ConditionOperator.GreaterThan, true, &#8220;nc_propercount&#8221;));<\/p>\n<p>EntityCollection results = new EntityCollection();<\/p>\n<p>results=service.RetrieveMultiple(query);<\/p>\n<p style=\"text-align: justify;\"><strong><em>Note: This field comparison feature in Query Expression can be used only for sdk assemblies with version greater than or equal to 9.0.2.25. But field comparison feature in FetchXML is available for all v9 version of sdk assemblies and also v8 versions too.<\/em><\/strong><\/p>\n<p style=\"text-align: justify;\">Currently these platform enhancements are available to developers for use through SDK calls. The query designer options available through the UI like the Advanced Find Query builder is yet to support this feature.<\/p>\n<p style=\"text-align: justify;\">This first iteration of this feature does come with certain limitations. Please check the below link regarding the limitations.<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/powerapps\/developer\/common-data-service\/column-comparison#limitations\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/docs.microsoft.com\/en-us\/powerapps\/developer\/common-data-service\/column-comparison#limitations<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/\">Read More: Field Comparisons now available for Queries in Power Platform &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1913],"tags":[795,796,797,1351],"class_list":["post-24754","post","type-post","status-publish","format-standard","hentry","category-microsoft-power-platform-services","tag-fetchxml","tag-fetchxml-dynamics-365","tag-fetchxml-dynamics-crm","tag-power-platform"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"785\" \/>\n\t\t<meta property=\"og:image:height\" content=\"316\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-09-16T11:58:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-09-17T07:59:06+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#blogposting\",\"name\":\"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"Field Comparisons now available for Queries in Power Platform\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/field-types-supported-by-operator-table.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#articleImage\",\"width\":785,\"height\":316,\"caption\":\"C:\\\\Users\\\\Saksh\\\\Downloads\\\\Inogic\\\\Inogic Blog Posts\\\\16th Sept\\\\field types supported by operator table.png\"},\"datePublished\":\"2020-09-16T11:58:42+05:30\",\"dateModified\":\"2020-09-17T07:59:06+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#webpage\"},\"articleSection\":\"Microsoft Power Platform Services, FetchXML, FetchXML Dynamics 365, fetchxml Dynamics CRM, Power Platform\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/microsoft-power-platform-services\\\/#listItem\",\"name\":\"Microsoft Power Platform Services\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/microsoft-power-platform-services\\\/#listItem\",\"position\":2,\"name\":\"Microsoft Power Platform Services\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/microsoft-power-platform-services\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#listItem\",\"name\":\"Field Comparisons now available for Queries in Power Platform\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#listItem\",\"position\":3,\"name\":\"Field Comparisons now available for Queries in Power Platform\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/microsoft-power-platform-services\\\/#listItem\",\"name\":\"Microsoft Power Platform Services\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/\",\"name\":\"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/09\\\/field-comparisons-now-available-for-queries-in-power-platform\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2020-09-16T11:58:42+05:30\",\"dateModified\":\"2020-09-17T07:59:06+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for","canonical_url":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#blogposting","name":"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"Field Comparisons now available for Queries in Power Platform","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png","@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#articleImage","width":785,"height":316,"caption":"C:\\Users\\Saksh\\Downloads\\Inogic\\Inogic Blog Posts\\16th Sept\\field types supported by operator table.png"},"datePublished":"2020-09-16T11:58:42+05:30","dateModified":"2020-09-17T07:59:06+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#webpage"},"articleSection":"Microsoft Power Platform Services, FetchXML, FetchXML Dynamics 365, fetchxml Dynamics CRM, Power Platform"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/#listItem","name":"Microsoft Power Platform Services"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/#listItem","position":2,"name":"Microsoft Power Platform Services","item":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#listItem","name":"Field Comparisons now available for Queries in Power Platform"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#listItem","position":3,"name":"Field Comparisons now available for Queries in Power Platform","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/#listItem","name":"Microsoft Power Platform Services"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/","name":"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2020-09-16T11:58:42+05:30","dateModified":"2020-09-17T07:59:06+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for","og:url":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png","og:image:width":785,"og:image:height":316,"article:published_time":"2020-09-16T11:58:42+00:00","article:modified_time":"2020-09-17T07:59:06+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"Field Comparisons now available for Queries in Power Platform - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"Dynamics 365 CRM and the platform underneath has always provided for a proprietary query language called FetchXML. With the introduction of CRM Online, this became the defacto query language as SQL commands could no longer be used (well querying data through sql is being reintroduced, under preview right now, but that is another topic for","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/09\/field-types-supported-by-operator-table.png","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"24754","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 07:32:51","updated":"2025-07-04 07:56:55","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/\" title=\"Microsoft Power Platform Services\">Microsoft Power Platform Services<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tField Comparisons now available for Queries in Power Platform\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Microsoft Power Platform Services","link":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/"},{"label":"Field Comparisons now available for Queries in Power Platform","link":"https:\/\/www.inogic.com\/blog\/2020\/09\/field-comparisons-now-available-for-queries-in-power-platform\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/24754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=24754"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/24754\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=24754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=24754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=24754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}