<?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 Relate from table to table joined to query layer in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idi-p/1376313</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.1; Oracle 18c:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Background:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a ROLL_UP table that has a COMPOSITE_ID field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1706683102485.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93255i2C9BF1F8E2CCC3D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1706683102485.png" alt="Bud_1-1706683102485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And I have a PROJECTS table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1706683177977.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93256i3B241DDAE5E85935/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_2-1706683177977.png" alt="Bud_2-1706683177977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to do a relate from the ROLL_UP table to the PROJECTS table via the COMPOSITE_ID field.&lt;/P&gt;&lt;P&gt;Since PROJECTS doesn't have a COMPOSITE_ID field, I need to create one by concatenating EVENT_STATUS and YEAR_CON.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ideally, I'd use a mechanism like &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/virtual-attributes-ad-hoc/idi-p/1276471" target="_self"&gt;Virtual Attributes&lt;/A&gt;. But that functionality doesn't exist.&lt;/LI&gt;&lt;LI&gt;I don't want to use a calculation attribute rule because I don't want to clutter up the table with an additional permanent field — just for this one data analysis task. Also, the table is locked.&lt;/LI&gt;&lt;LI&gt;I need to edit the data in PROJECTS. So query layers and database views aren’t suitable, at least not on their own.&lt;/LI&gt;&lt;LI&gt;So instead, I'll create a query layer and &lt;U&gt;join from the PROJECTS table to the query layer&lt;/U&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Create a query layer on PROJECTS:&lt;/P&gt;&lt;PRE&gt;select
    objectid,
    &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;event_status||year_con as composite_id&lt;/STRONG&gt;&lt;/FONT&gt;
from
    projects&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_3-1706683645107.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93257i08A92D066AF68B8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_3-1706683645107.png" alt="Bud_3-1706683645107.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Join from PROJECTS to the query layer via the common OBJECITD fields.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_4-1706683708319.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93258i1C5BBD9444DA1094/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_4-1706683708319.png" alt="Bud_4-1706683708319.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I have a calculated COMPOSITE_ID field in PROJECTS.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_5-1706683763106.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93259i9995E194E69E2843/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_5-1706683763106.png" alt="Bud_5-1706683763106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Idea:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to do a relate from the ROLLUP table to the PROJECTS table (and the query layer) — using the common COMPOSITE_ID fields.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_6-1706683982521.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93260i3D8C3FF9EBDFA3AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_6-1706683982521.png" alt="Bud_6-1706683982521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can create the relate without errors.&lt;/P&gt;&lt;P&gt;However, the relate doesn't work as expected. If I select a record in ROLL_UP and use &lt;U&gt;&lt;EM&gt;Related Data&lt;/EM&gt;&lt;/U&gt; to select the related records in PROJECTS, then no related records in PROJECTS get selected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_7-1706684215166.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93261i96ABB0756E355949/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_7-1706684215166.png" alt="Bud_7-1706684215166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1706793973580.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93428i57D8580F5BFC30E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1706793973580.png" alt="Bud_0-1706793973580.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Whereas, I don't have that problem if I export PROJECTS (and the joined query layer field) to a static table called PROJECTS_STATIC_EXPORT. And then do the relate from ROLL_UP to&amp;nbsp;PROJECTS_STATIC_EXPORT. The relate works without issue, proving that the logic is sound.&lt;/P&gt;&lt;P&gt;But I don't want to create a copy/export of PROJECTS. I want to use live PROJECTS data, including editing the data.&lt;/P&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6345922003112w600h540r453" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6345922003112" 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-6345922003112w600h540r453');  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/6345922003112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Could ArcGIS Pro be enhanced so that we can relate from a table to &lt;U&gt;&lt;EM&gt;a table joined to query layer&lt;/EM&gt;&lt;/U&gt;?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Similar post:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/relate-using-multiple-fields/idi-p/1377293" target="_self"&gt;Relate using multiple fields&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 21:17:29 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-02-01T21:17:29Z</dc:date>
    <item>
      <title>Relate from table to table joined to query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idi-p/1376313</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.1; Oracle 18c:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Background:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a ROLL_UP table that has a COMPOSITE_ID field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1706683102485.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93255i2C9BF1F8E2CCC3D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1706683102485.png" alt="Bud_1-1706683102485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And I have a PROJECTS table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_2-1706683177977.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93256i3B241DDAE5E85935/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_2-1706683177977.png" alt="Bud_2-1706683177977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to do a relate from the ROLL_UP table to the PROJECTS table via the COMPOSITE_ID field.&lt;/P&gt;&lt;P&gt;Since PROJECTS doesn't have a COMPOSITE_ID field, I need to create one by concatenating EVENT_STATUS and YEAR_CON.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ideally, I'd use a mechanism like &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/virtual-attributes-ad-hoc/idi-p/1276471" target="_self"&gt;Virtual Attributes&lt;/A&gt;. But that functionality doesn't exist.&lt;/LI&gt;&lt;LI&gt;I don't want to use a calculation attribute rule because I don't want to clutter up the table with an additional permanent field — just for this one data analysis task. Also, the table is locked.&lt;/LI&gt;&lt;LI&gt;I need to edit the data in PROJECTS. So query layers and database views aren’t suitable, at least not on their own.&lt;/LI&gt;&lt;LI&gt;So instead, I'll create a query layer and &lt;U&gt;join from the PROJECTS table to the query layer&lt;/U&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Create a query layer on PROJECTS:&lt;/P&gt;&lt;PRE&gt;select
    objectid,
    &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;event_status||year_con as composite_id&lt;/STRONG&gt;&lt;/FONT&gt;
from
    projects&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_3-1706683645107.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93257i08A92D066AF68B8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_3-1706683645107.png" alt="Bud_3-1706683645107.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Join from PROJECTS to the query layer via the common OBJECITD fields.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_4-1706683708319.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93258i1C5BBD9444DA1094/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_4-1706683708319.png" alt="Bud_4-1706683708319.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I have a calculated COMPOSITE_ID field in PROJECTS.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_5-1706683763106.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93259i9995E194E69E2843/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_5-1706683763106.png" alt="Bud_5-1706683763106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Idea:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to do a relate from the ROLLUP table to the PROJECTS table (and the query layer) — using the common COMPOSITE_ID fields.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_6-1706683982521.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93260i3D8C3FF9EBDFA3AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_6-1706683982521.png" alt="Bud_6-1706683982521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can create the relate without errors.&lt;/P&gt;&lt;P&gt;However, the relate doesn't work as expected. If I select a record in ROLL_UP and use &lt;U&gt;&lt;EM&gt;Related Data&lt;/EM&gt;&lt;/U&gt; to select the related records in PROJECTS, then no related records in PROJECTS get selected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_7-1706684215166.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93261i96ABB0756E355949/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_7-1706684215166.png" alt="Bud_7-1706684215166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1706793973580.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93428i57D8580F5BFC30E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1706793973580.png" alt="Bud_0-1706793973580.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Whereas, I don't have that problem if I export PROJECTS (and the joined query layer field) to a static table called PROJECTS_STATIC_EXPORT. And then do the relate from ROLL_UP to&amp;nbsp;PROJECTS_STATIC_EXPORT. The relate works without issue, proving that the logic is sound.&lt;/P&gt;&lt;P&gt;But I don't want to create a copy/export of PROJECTS. I want to use live PROJECTS data, including editing the data.&lt;/P&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6345922003112w600h540r17" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6345922003112" 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-6345922003112w600h540r17');  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/6345922003112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Could ArcGIS Pro be enhanced so that we can relate from a table to &lt;U&gt;&lt;EM&gt;a table joined to query layer&lt;/EM&gt;&lt;/U&gt;?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Similar post:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/relate-using-multiple-fields/idi-p/1377293" target="_self"&gt;Relate using multiple fields&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 21:17:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idi-p/1376313</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-01T21:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Relate from table to table joined to query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1376533#M28253</link>
      <description>&lt;P&gt;I understand that you want to avoid to add a new field, but sometimes this is the best solution for performance and data model normalization, you can add the composite_id column to the projects table, then populate the composite_id = event_status || year_con, then create an index on composite_id, next use &lt;A href="https://pro.arcgis.com/en/pro-app/3.0/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm" target="_blank" rel="noopener"&gt;ArcGIS Pro Attribute Rules&lt;/A&gt; with arcade expression to populate the composite_id automatically when a new record is inserted or when a record is updated, and consider to make the fields event_status, year_con as not null,&amp;nbsp;then, you can create a &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/relationships/relationship-class-properties.htm" target="_blank" rel="noopener"&gt;geodatabase relationship class&lt;/A&gt; between the projects table and the roll_up table.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:39:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1376533#M28253</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-01-31T16:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Relate from table to table joined to query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1377384#M28291</link>
      <description>&lt;P&gt;I think I figured it out. The problem seems to be when the query layer has spaces in the name. If I create a query layer with no spaces in the name, the relate works as expected.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"query layer" doesn't work.&lt;/LI&gt;&lt;LI&gt;"query_layer" works.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Video:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6346030912112w842h540r695" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6346030912112" 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-6346030912112w842h540r695');  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/6346030912112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Esri Case #03543479 - Relate from table to table joined to query layer&lt;/P&gt;&lt;P&gt;BUG-000165217 - When a relate exists between a table and a query layer with a composite key joined to another table, related records are not displayed if the query layer name contains a space.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I figured it out by testing a database view instead of a query layer. I didn't have the issue with the view since views don't allow spaces in the name. So, from there, I determined that the space in the query layer name was the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 19:58:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1377384#M28291</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-20T19:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Relate from table to table joined to query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1381815#M28479</link>
      <description>&lt;P&gt;If the&amp;nbsp;ROLL_UP table were acually a view, then the following would apply:&lt;/P&gt;&lt;P&gt;In Pro 2.6.8, I had to &lt;STRONG&gt;register&lt;/STRONG&gt; the database view &lt;STRONG&gt;with the geodatabase&lt;/STRONG&gt; to get it to work. Otherwise, it was very buggy. Random rows would get selected in the view when I tried to point to the related records, which was incorrect. (Oracle 18c 10.7.1 EGDB)&lt;/P&gt;&lt;P&gt;I don't have that problem in ArcGIS Pro 3.2.2 with a non-gdb Oracle 18c Express environment (when the view isn't registered with the geodatabase).&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 20:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1381815#M28479</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-13T20:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Relate from table to table joined to query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1381866#M28484</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7880"&gt;@MarceloMarques&lt;/a&gt;&amp;nbsp;suggested, the performance of this approach is poor. It takes 15 seconds to do anything in the attribute table of the PROJECTS table, such as relate to PROJECTS records or sort the attribute table. There are only 800 records in PROJECTS, so performance really shouldn't be a problem.&lt;/P&gt;&lt;P&gt;The reason for the poor performance is likely this:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/perform-join-at-the-database-level-not-the/idi-p/1293487" target="_self"&gt;Perform join at the database level, not the application level, when the datasets are in the same workspace&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I don't have this issue when doing the equivalent join in pure SQL. It's only a problem in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;And as mentioned in the above &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/perform-join-at-the-database-level-not-the/idi-p/1293487" target="_self"&gt;idea&lt;/A&gt;, ArcGIS Pro does the join correctly for mobile geodatabases (joined to a database view, since MGDBs don't have query layers); the join is done at the database level, not the application level. Whereas with EGDBs, Pro seems to do the join at the application level, causing slow performance.&lt;/P&gt;&lt;P&gt;BUG-000160320:&amp;nbsp; Slow performance in Pro when interacting with the attribute table of data which participates in a join.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 20:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1381866#M28484</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-13T20:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Relate from table to table joined to query layer</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1512488#M31295</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tatag_BagusNarendra_0-1722358459094.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111113i01604570B67EDC4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tatag_BagusNarendra_0-1722358459094.png" alt="Tatag_BagusNarendra_0-1722358459094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;does it give the same result using pandas?&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;import pandas as pd&lt;BR /&gt;pd1 = pd.read_excel('D:/temp/_test/PROJECTS.xlsx')&lt;BR /&gt;pd2 = pd.read_excel('D:/temp/_test/ROLL_UP.xlsx')&lt;BR /&gt;merged_df = pd.merge(pd1, pd2, on=['EVENT_STATUS','YEAR_CON'], how='left')&lt;BR /&gt;print(merged_df)&lt;BR /&gt;file_name = 'D:/temp/_test/EXPORT_TEST.xlsx'&lt;BR /&gt;merged_df.to_excel(file_name)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 17:34:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/relate-from-table-to-table-joined-to-query-layer/idc-p/1512488#M31295</guid>
      <dc:creator>Tatag_BagusNarendra</dc:creator>
      <dc:date>2024-07-30T17:34:23Z</dc:date>
    </item>
  </channel>
</rss>

