<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS Pro- Definition Query- Performing Opposite Query Than Expected in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703567#M103295</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/618314"&gt;@JonM32&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response! This is a Text Field so that's why I'm confused why a "contains" doesn't work and the other expression results in the opposite (?)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amanda&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2026 19:37:03 GMT</pubDate>
    <dc:creator>Amanda__Huber</dc:creator>
    <dc:date>2026-05-21T19:37:03Z</dc:date>
    <item>
      <title>ArcGIS Pro- Definition Query- Performing Opposite Query Than Expected</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703547#M103291</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We recently found a strange query issue in ArcGIS Pro 3.6.2 . When running a query with "does not contain the text" nothing is selected, but running a query that says "does not include the values" it&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;does &lt;/STRONG&gt;&lt;/EM&gt;select the values that are opposite of the query. This seems like a strange bug.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data is hosted in AGOL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6396286331112w710h540r176" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6396286331112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6396286331112w710h540r176');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6396286331112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;If anyone has insight into this behavior that would be great. Considering opening an Esri support case for this too but wanted to check here first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Amanda Huber&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 18:44:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703547#M103291</guid>
      <dc:creator>Amanda__Huber</dc:creator>
      <dc:date>2026-05-21T18:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro- Definition Query- Performing Opposite Query Than Expected</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703548#M103292</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/304310"&gt;@Amanda__Huber&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It might have to do with what type of field the SQL is run on. For example, text vs integer. I would suggest looking into that looking into this.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 18:53:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703548#M103292</guid>
      <dc:creator>JonM32</dc:creator>
      <dc:date>2026-05-21T18:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro- Definition Query- Performing Opposite Query Than Expected</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703555#M103293</link>
      <description>&lt;P&gt;Can you describe your data schema and some examples in text here?&amp;nbsp; Can you also share the SQL that each query is generating?&amp;nbsp; A video is better than a screenshot, but I personally won't usually take the time to watch a video, and I am guessing there are plenty others on the forum that do the same, or don't in this case.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 19:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703555#M103293</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2026-05-21T19:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro- Definition Query- Performing Opposite Query Than Expected</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703564#M103294</link>
      <description>&lt;P&gt;I have run into this before, I had to address the "null" values separately,&amp;nbsp; so "does not include the text" or "is null"&amp;nbsp; &amp;nbsp;I assume it has to do with it being null and does not have anything to evaluate against.&lt;/P&gt;&lt;P&gt;edit:&lt;A href="https://weblogs.sqlteam.com/markc/2009/06/08/60929/" target="_blank"&gt;NULL is NOT LIKE and NOT NOT LIKE | Ajarn Mark Caldwell Blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you put&amp;nbsp;&lt;SPAN&gt;"does not include the values" is looking for "FR" as a value and not part of the value.&amp;nbsp; So since none of the values are exactly "FR" they are all selected. And again null would need to be addressed separatly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 20:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703564#M103294</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2026-05-21T20:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro- Definition Query- Performing Opposite Query Than Expected</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703567#M103295</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/618314"&gt;@JonM32&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response! This is a Text Field so that's why I'm confused why a "contains" doesn't work and the other expression results in the opposite (?)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amanda&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 19:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-definition-query-performing-opposite/m-p/1703567#M103295</guid>
      <dc:creator>Amanda__Huber</dc:creator>
      <dc:date>2026-05-21T19:37:03Z</dc:date>
    </item>
  </channel>
</rss>

