<?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>idea Add Join — Create independent definition query on join table (pre-filter) in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idi-p/1385518</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.2; File Geodatabase&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When joining to a table that has a definition query, the definition query gets applied to the input table (and to the join table). The definition query effectively becomes an inner join, even if&amp;nbsp;&lt;SPAN&gt;"Keep all input records" was checked in the join.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That ends up being a &lt;EM&gt;&lt;U&gt;gotcha&lt;/U&gt;&lt;/EM&gt; in a lot of cases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Users would expect the definition query to be applied as a "pre-filter" to the join table only, instead of applying the definition query to the resulting joined tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could that behaviour be changed so that the definition query on the join table remains independent (as a pre-filter)? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1708619125879.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95516iEFC111B59A4748DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_2-1708619125879.png" alt="Bud_2-1708619125879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Related:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/add-join-not-keeping-all-target-features/m-p/1385269/highlight/true#M79148" target="_self"&gt;&lt;SPAN&gt;Add Join not keeping all target features&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/add-join-indicate-that-a-definition-query-on-join/idi-p/1385290/highlight/true" target="_self"&gt;&lt;SPAN&gt;Add Join — Indicate that a definition query on join table will effectively result in an inner join&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 23 Feb 2024 16:47:14 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-02-23T16:47:14Z</dc:date>
    <item>
      <title>Add Join — Create independent definition query on join table (pre-filter)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idi-p/1385518</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.2; File Geodatabase&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When joining to a table that has a definition query, the definition query gets applied to the input table (and to the join table). The definition query effectively becomes an inner join, even if&amp;nbsp;&lt;SPAN&gt;"Keep all input records" was checked in the join.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That ends up being a &lt;EM&gt;&lt;U&gt;gotcha&lt;/U&gt;&lt;/EM&gt; in a lot of cases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Users would expect the definition query to be applied as a "pre-filter" to the join table only, instead of applying the definition query to the resulting joined tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could that behaviour be changed so that the definition query on the join table remains independent (as a pre-filter)? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1708619125879.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95516iEFC111B59A4748DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_2-1708619125879.png" alt="Bud_2-1708619125879.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Related:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/add-join-not-keeping-all-target-features/m-p/1385269/highlight/true#M79148" target="_self"&gt;&lt;SPAN&gt;Add Join not keeping all target features&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/add-join-indicate-that-a-definition-query-on-join/idi-p/1385290/highlight/true" target="_self"&gt;&lt;SPAN&gt;Add Join — Indicate that a definition query on join table will effectively result in an inner join&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 23 Feb 2024 16:47:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idi-p/1385518</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-23T16:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Add Join — Create independent definition query on join table (pre-filter)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idc-p/1389527#M28803</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Data Management Ideas -&amp;nbsp;&lt;A href="https://community.esri.com/t5/data-management-ideas/honor-definition-query-when-joining-feature/idi-p/924590/highlight/true" target="_self"&gt;Honor Definition Query When Joining Feature Classes&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;ArcGIS Pro Ideas (Closed) -&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/honor-definition-query-when-joining-feature/idi-p/957673/highlight/true" target="_self"&gt;Honor Definition Query When Joining Feature Classes&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Bug -&amp;nbsp;Article ID:000007166 -&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/open-attribute-table-returns-no-values-on-a-geodatabase-000007166" target="_self" rel="nofollow noopener noreferrer"&gt;Open Attribute Table returns no values on a geodatabase point feature class with a join and a defini...&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;BUG-000153808&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://support.esri.com/en-us/bug/the-add-join-tool-does-not-correctly-honor-the-definiti-bug-000153808" target="_self" rel="nofollow noopener noreferrer"&gt;The Add Join tool does not correctly honor the definition query on the join table.&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;BUG-000131999&lt;/SPAN&gt;&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/definition-query-not-working-as-expected-in-a-joined-fe-bug-000131999" target="_self" rel="nofollow noopener noreferrer"&gt;Definition query not working as expected in a joined feature layer.&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;BUG-000129607&lt;/SPAN&gt;&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/add-join-does-not-correctly-honor-definition-query-on-j-bug-000129607" target="_self" rel="nofollow noopener noreferrer"&gt;Add Join does not correctly honor definition query on join table.&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;BUG-000153950&lt;/SPAN&gt;&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/in-arcgis-pro-when-adding-a-join-the-keep-all-target-fe-bug-000153950" target="_self" rel="nofollow noopener noreferrer"&gt;In ArcGIS Pro, when adding a join, the Keep All Target Features option is not honored if the joined ...&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;BUG-000164109&lt;/SPAN&gt;&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/exported-output-is-not-the-same-when-involving-definiti-bug-000164109" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;Exported output is not the same when involving definition queries and join processes.&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 01 Mar 2024 16:11:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idc-p/1389527#M28803</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-03-01T16:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add Join — Create independent definition query on join table (pre-filter)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idc-p/1528420#M31827</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;If the join table has a definition query, the &lt;SPAN class=""&gt;Keep all input records&lt;/SPAN&gt; parameter will have no effect. Manually updating the definition query by appending &lt;SPAN class=""&gt;or OBJECTID is null&lt;/SPAN&gt; can fix this if appropriate.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-join.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-join.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 05:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idc-p/1528420#M31827</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-28T05:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add Join — Create independent definition query on join table (pre-filter)</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idc-p/1528425#M31828</link>
      <description>&lt;P&gt;As a workaround:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We can try hiding/embedding the SQL expression using Make Query Table. The SQL expression behaves like a pre-filter, applied before the join is performed, which is what we want, unlike definition queries. &lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/consistent-visible-sql-expressions-and-query/idc-p/1366709/highlight/true#M27874" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-pro-ideas/consistent-visible-sql-expressions-and-query/idc-p/13...&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;But we have to be careful not to forget about that SQL expression because it isn't visible or modifiable anywhere. I find it helps to describe the SQL expression in the layer's name.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 05:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/add-join-create-independent-definition-query-on/idc-p/1528425#M31828</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-28T05:59:05Z</dc:date>
    </item>
  </channel>
</rss>

