<?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: 1:M Join to Pull feature with Specific Attribute information in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525143#M45340</link>
    <description>&lt;P&gt;Thanks for the reply. I am not only trying to get these attributes that equal one, because sometime they don't exist. In that case, I want to pull the 0's. That is why I do not thing a DQ or a Selection will work.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 15:16:21 GMT</pubDate>
    <dc:creator>JustinH</dc:creator>
    <dc:date>2024-08-21T15:16:21Z</dc:date>
    <item>
      <title>1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524759#M45333</link>
      <description>&lt;P&gt;Hello-&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone can help us with this data issue we are having.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a Point Layer and a Polygon layer and I need to attach the Polygon Layer Attributes to the Point layer. However, there may be 3 polygons to one point. Currently, when I join the Polygons to the Points, it just randomly chooses one of the polygons to pull data from. We want to have a little more control on what data is being attached.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are mostly interested in one of the Fields from the Polygon layer. It is a binary layer basically saying if there is a boundary that was uploaded (Binary). There&amp;nbsp;&lt;EM&gt;could&amp;nbsp;&lt;/EM&gt;be three polygons and they all have different attributes in this field (Ex: 0,0,1) or it could just be one polygon and we are not to worried about it. Our goal is to pull the data from the polygon that has a 1. If it does not have a one, print 0.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am having a hard time doing this with a Join, not sure if that is the way to approach this. In my head I want to just say, prioritize the join for when this field is = 1. Is there a way I can do this?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I made a visual and I hope it is helpful. TIA! &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="combing 3 related records of a polygon layer ato a point layer with the same ID 2024-08-20 14_24_55-$.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113028i49161E815CB90F19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="combing 3 related records of a polygon layer ato a point layer with the same ID 2024-08-20 14_24_55-$.png" alt="combing 3 related records of a polygon layer ato a point layer with the same ID 2024-08-20 14_24_55-$.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 21:28:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524759#M45333</guid>
      <dc:creator>JustinH</dc:creator>
      <dc:date>2024-08-20T21:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524760#M45334</link>
      <description>&lt;P&gt;Also- I need some sort of solution that I can add into Model Builder for me to automate updates when a Third Party pushes updates to the data. Thanks!!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 21:33:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524760#M45334</guid>
      <dc:creator>JustinH</dc:creator>
      <dc:date>2024-08-20T21:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524764#M45335</link>
      <description>&lt;P&gt;May be add a select by attribute where Poly Attr = 1 the&amp;nbsp; do the join to Activity &amp;gt; Pro will only join the selected queried polys to Activity.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 21:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524764#M45335</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2024-08-20T21:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524765#M45336</link>
      <description>&lt;P&gt;If the point is inside the polygon(s) you should be able to use the&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/spatial-join.htm" target="_blank" rel="noopener"&gt; Spatial Join&lt;/A&gt;&amp;nbsp;GP tool with the One to Many option. You can then use the field map to determine how to handle conflicts, in this case you would take the max value of the field from the polygon and put it on the point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the relationship between the point/polygon(s) isn't spatial you can still achieve something similar using the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/join-field.htm" target="_blank" rel="noopener"&gt;Join Field&lt;/A&gt; tool with a similar set of options.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 21:39:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524765#M45336</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2024-08-20T21:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524841#M45337</link>
      <description>&lt;P&gt;&lt;EM&gt;Edited.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What kind of geodabase? For example, Oracle 18c 10.7.1 enterprise geodatabase.&lt;/LI&gt;&lt;LI&gt;What version of ArcGIS Pro?&lt;/LI&gt;&lt;LI&gt;Can you mock up the result you want in an Excel screenshot?&lt;/LI&gt;&lt;LI&gt;If you create a join from the point layer to the polygon layer (via Add Join), what kind of join is it? One-to-one or one-to-many? Can you check to see what the Join section in the layer properties says? Did Pro force a one-to-one join, despite the data being one-to-many?&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/indicate-what-caused-type-of-join-to-be-used-1-1/idi-p/1473916/highlight/true" target="_self"&gt;Indicate what caused type of join to be used (1:1 vs 1:M)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/choose-if-join-will-be-one-to-first-or-1-many/idi-p/1239915" target="_self"&gt;Choose if join will be one-to-first or 1:Many&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Does the joined data need to be editable, or can you use a read-only mechanism like a database view (file GDB, mobile GDB, or enterprise GDB) or a query layer (enterprise GDB only)?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Full-blown SQL Query: Database view or query layer&lt;/LI&gt;&lt;LI&gt;Or, you could use the Sort geoprocessing tool to sort the polygon layer by the common ID and also sort &lt;EM&gt;descending&lt;/EM&gt; on the binary field (so that the BINARY=1 rows are first in each grouping). That would produce a static output (a separate feature class). Then you could do the join from your points layer to the new sorted polygon layer. If the join is one-to-one/one-to-first,&amp;nbsp;then the join will use the first/lowest ObjectID from each ID grouping.&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/sort.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/sort.htm&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Related:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/join-control-what-related-record-gets-used/idi-p/1237557" target="_self"&gt;Join — Control what related record gets used&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;As you might have noticed, joins and tabular analysis are quite buggy in Pro. &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/is-arcgis-pro-the-right-tool-for-tabular-join/m-p/1416363#M82488" target="_self"&gt;Is ArcGIS Pro the right tool for tabular/join-based geodatabase analysis?&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 21 Aug 2024 17:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524841#M45337</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-21T17:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524843#M45338</link>
      <description>&lt;P&gt;The Add Join tool is one of the few geoprocessing tools that ignores selections. So, I don't think a selection would work in conjunction with Add Join.&lt;/P&gt;&lt;P&gt;But maybe the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/join-field.htm" target="_self"&gt;Join Field&lt;/A&gt; tool would honor a selection. I haven't checked. That tool creates a static output feature class, so I try not to use it. In comparison, Add Join creates a dynamic join, so I prefer it instead.&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Selections on the input or join tables are ignored in the &lt;/SPAN&gt;&lt;SPAN&gt;Add Join&lt;/SPAN&gt;&lt;SPAN&gt; tool. The &lt;/SPAN&gt;&lt;SPAN&gt;Join Field&lt;/SPAN&gt;&lt;SPAN&gt; tool supports selections. To only join with a selected subset, create a &lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.3/help/mapping/layer-properties/selection-layers.htm" target="_blank" rel="noopener"&gt;selection layer&lt;/A&gt;&lt;SPAN&gt; and use it as input to the &lt;/SPAN&gt;&lt;SPAN&gt;Add Join&lt;/SPAN&gt;&lt;SPAN&gt; tool. Join layer properties are copied when you create a selection layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-join.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-join.htm&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;One might expect a definition query would work (on the polygon layer). WHERE BINARY = 1. But there is a gotcha. The definition query gets applied to the entire join/the entire attribute table, including both the input table and the join table. See&amp;nbsp;&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;Add Join — Indicate that a definition query on join table will effectively result in an inner join&lt;/A&gt;. So, if there are points that don't have matching polygons, then those points would be excluded due to the definition query, which may not be wanted.&lt;/P&gt;&lt;P&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;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/1366709/highlight/true#M27874&lt;/A&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;/P&gt;&lt;P&gt;Are there points that don't have matching polygons? If yes, in those cases, would it be ok if the joined polygon binary value were displayed as NULL, not zero? Or is displaying a value of zero a must-have in that scenario?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Side note:&lt;BR /&gt;I came across an issue when testing definition queries: Esri Support Case #03704340 -&amp;nbsp;&lt;EM&gt;ArcGIS Pro 3.3.1 - Join with definition query excludes row unexpectedly&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 16:36:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524843#M45338</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-30T16:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524844#M45339</link>
      <description>&lt;P&gt;If I remember correctly, the Summary Statistics tool might be useful with this type of approach too.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 10:42:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1524844#M45339</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-21T10:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525143#M45340</link>
      <description>&lt;P&gt;Thanks for the reply. I am not only trying to get these attributes that equal one, because sometime they don't exist. In that case, I want to pull the 0's. That is why I do not thing a DQ or a Selection will work.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 15:16:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525143#M45340</guid>
      <dc:creator>JustinH</dc:creator>
      <dc:date>2024-08-21T15:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525154#M45341</link>
      <description>&lt;P&gt;Unfortunately there is not spatial relationship between the points and Polygons. It could be helpful to provide some context. I had tried to use Join Field before in the model. It worked really well. I would get the same point output as the inputs. However, what the join was doing was randomly selecting features when there were were &amp;gt;1 features that had the same ID field we use to join the tables. Sometimes, it does not matter, and there can be more than one feature that has the same ID field but the target field are all zeros. When there is atleast one feature in the target field that is equal to 1, I need the join to choose this feature. Hopefully this is helpful in finding a solution!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 15:23:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525154#M45341</guid>
      <dc:creator>JustinH</dc:creator>
      <dc:date>2024-08-21T15:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525185#M45342</link>
      <description>&lt;P&gt;If we're sticking to model builder, try using the dissolve tool on your point layer. Pick your foreign key fireld as the dissolve field, then pick the values you want to push as your statistic fields (min, max, etc). You can then use the join field tool on the dissolved layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In situations like this where I've found my data to be inconsistent or strange, I have often resorted to writing a python script to handle my data strangeness. I use a search cursor to iterate through all the values in my source data, creating a dictionary to store the values I want to push to the target layer. This allows me to ignore or discard any values that aren't relevant to my analysis. I then use an update cursor to push the values onto their corresponding features. The benefit of this approach is that a) you have complete control over how data is pushed between the two datasets and b) you can keep detailed logs about any anomalies (how many features in the source had invalid values, how many features from the source didn't have a corresponding target, how many features in the target didn't have a corresponding source, etc).&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 15:55:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525185#M45342</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2024-08-21T15:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525209#M45343</link>
      <description>&lt;P&gt;I suppose you could do something like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using the join that has produced NULL instead of zero when there is a point without a matching polygon,&lt;/LI&gt;&lt;LI&gt;Export to a static feature class. This step may not be needed, depending on what technique you use; the data might already be in a static output feature class.&lt;/LI&gt;&lt;LI&gt;Then use the &lt;STRONG&gt;field calculator&lt;/STRONG&gt; to replace the nulls with zeros.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 21 Aug 2024 16:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525209#M45343</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-21T16:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525211#M45344</link>
      <description>&lt;P&gt;Thanks Bud for your willingness to help with this issue. Unfortunately there are a lot of question that I have no idea what the answer is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Database - Not positive, I pull all of the data from an AGOL Feature Service that our organization is hosting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I am currently using ArcGIS Pro 3.3&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. I think the result is sort of confusing what we want.... Lets see if I can do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see that my Join Field (A1) has multiple repeat values but the output table pulls the B column that has a one instead of a zero.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Table 1        
A1  B1  
1  0
1  1
1  0
2  0
2  0
3  1
3  0
3  1 

Table 2 
A2 
1
2
3

Output 
A2   A1   B1
1    1    1
2    2    0
3    3    1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;4. Here is what happens when I do a join of the Points to the Polygons. (There are many more records of polygons than points). This Join seems to work well and I may have to work from this data. Working backwards may be the key Because the 1:M join does work where as the other way around it does not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JustinH_0-1724257319509.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113108iD4FEE56CFC8CE889/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JustinH_0-1724257319509.png" alt="JustinH_0-1724257319509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;5. The output data will need to be updated on a regular basis because I pull from the updated feature services, make this join and then push to a new feature service that compiles all of the data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 16:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525211#M45344</guid>
      <dc:creator>JustinH</dc:creator>
      <dc:date>2024-08-21T16:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525253#M45345</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/760295"&gt;@JustinH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you review this video where I use the Sort tool and confirm if it is what you want (or not)?&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6360766982112w758h540r216" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6360766982112" 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-6360766982112w758h540r216');  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/6360766982112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The resulting join could be exported to a static feature class. And then you could replace any nulls (nulls exist when there isn't a match) with zeros using the Field Calculator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The sample data didn't produce any nulls, but it sounds like your real data &lt;EM&gt;would&lt;/EM&gt; produce nulls that you'd want to change to zeros.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 00:55:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525253#M45345</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-22T00:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525290#M45346</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/760295"&gt;@JustinH&lt;/a&gt;&amp;nbsp;Just in case it is needed, we also have the Add Spatial Join tool.&amp;nbsp; In the Pro 3.3 release we added a check box to permanently transfer the attributes; which seems suitable to your initial comment.&lt;BR /&gt;&lt;BR /&gt;For&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/351335"&gt;@Bud&lt;/a&gt;'s comments (Lots of thanks for continually bringing attention to things; definitely guiding the target we are shooting for.):&lt;BR /&gt;The Add Join tool has a long legacy and is quite suitable for the matching data in Pro.&amp;nbsp; All analysis of those matched data should first be persisted to some form of data storage is the standard expectation.&amp;nbsp; For any changes to Add Join we need to carefully change anything that many users are counting on for consistent behavior.&amp;nbsp; Fundamental user scripts could be relying on the "buggy", consistent behavior we have.&amp;nbsp; (Such as 1:first behavior between different workspaces).&lt;BR /&gt;My goals with Add Join are to keep it consistent/documented until the legacy of quirks is controllable with parameters that the users can adjust for themselves to suite.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 18:11:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525290#M45346</guid>
      <dc:creator>JonathanNeal</dc:creator>
      <dc:date>2024-08-21T18:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525532#M45347</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/342593"&gt;@JonathanNeal&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;“My goals with Add Join are to keep it consistent/documented until the legacy of quirks is controllable with parameters that the users can adjust for themselves to suite.”&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Makes sense. For example, we have discussed&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/join-control-what-related-record-gets-used/idi-p/1237557/highlight/true" target="_self"&gt;Join — Control what related record gets used&lt;/A&gt; as a “controllable parameter” that would be very helpful.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 01:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525532#M45347</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-22T01:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525581#M45348</link>
      <description>&lt;P&gt;Idea:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/sort-within-groupings-join-and-fill-gaps-using-a/idi-p/1525355" target="_self"&gt;Using a single tool: Sort within groupings, join, and fill gaps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 04:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1525581#M45348</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-22T04:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1526548#M45351</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/760295"&gt;@JustinH&lt;/a&gt;, I wonder if you could adapt&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;'s Arcade field calculator answer to suit your needs:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/field-calculation-between-related-tables-arcgis/m-p/1526452/highlight/true#M87400" target="_self"&gt;Field Calculation Between Related Tables - ArcGIS Pro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It shouldn't be too hard. In Arcade, you can access related tables with the function&amp;nbsp;&lt;STRONG&gt;FeatureSetByRelationshipName&lt;/STRONG&gt;, and the result of that function is already filtered to the related records. You'd need some way to filter the result to a single feature. Here's me just grabbing the first record in a related table.&lt;/P&gt;&lt;PRE&gt;var can2 = FeatureSetByRelationshipName($feature, 'Relate1', ['the_field_you_want'], false)

// get the first feature
var can2_feat = First(can2)

// return value
return can2_feat['the_field_you_want']&lt;/PRE&gt;&lt;P&gt;Just be sure you get the relationship name right in that first line, and ask for whatever fields you need to do your work. Assuming it's just pulling a single value, though, it's a pretty straightforward operation.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Maybe instead of getting the&amp;nbsp;First() related value, you could get the max() related value. Just a blind guess.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 21:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1526548#M45351</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-23T21:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1528186#M45354</link>
      <description>&lt;P&gt;Thanks, Bud. If this were to allow the Join field to access the "First" submission, I think it could work. My other work around was to dissolve the occurrences based on the Activity ID and then print the Max value. This has worked well but when I go to join the Data, It creates duplicates. I then delete the duplicates and still end up losing something small like 10 submissions. I am not totally positive how to work around it yet but that seemed to do the trick.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 20:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1528186#M45354</guid>
      <dc:creator>JustinH</dc:creator>
      <dc:date>2024-08-27T20:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1528192#M45355</link>
      <description>&lt;P&gt;&amp;nbsp;UPDATE: This works. Not sure what has happened while I was on vacation but it no longer duplicates rows. Dissolving the Polygon layer and summing the stats at Max does work to chose but this only works because I am using a binary field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is my current workflow that has gotten me the closest, it does seem to work to make sure the attributes align with whether or not an Activity Id has&amp;nbsp;at least one submission that has a Planned Boundary. The only problem is when I go to Join the tables, it creates duplicates every time. I then delete Identical and I end up losing 20 features in the process. I feel like this is the closest I have gotten.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JustinH_1-1724790899474.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113660i4A9CEEE651B95058/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JustinH_1-1724790899474.png" alt="JustinH_1-1724790899474.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JustinH_0-1724790854485.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113659i3440BF477A26B2F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JustinH_0-1724790854485.png" alt="JustinH_0-1724790854485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 20:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1528192#M45355</guid>
      <dc:creator>JustinH</dc:creator>
      <dc:date>2024-08-27T20:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: 1:M Join to Pull feature with Specific Attribute information</title>
      <link>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1528353#M45356</link>
      <description>&lt;P&gt;Another option for anyone who’s interested:&lt;/P&gt;&lt;P&gt;Export the data to a mobile geodatabase. Create a database view using SQLite SQL to get the result that you want. SQLite is a fully functioning SQL dialect, unlike FGDB SQL.&lt;/P&gt;&lt;P&gt;This Oracle SQL query could be adapted to SQLite SQL:&lt;/P&gt;&lt;PRE&gt;--Oracle SQL
select
    t2.a2,
    t1.a1,
    case when t1.b1 is not null then t1.b1 else 0 end as b1
from
    table_2 t2
left join
    (select a1, b1, row_number() over (partition by a1 order by b1 desc) as rn from table_1) t1
    on t2.a2=t1.a1
where
    (t1.rn = 1 or t1.rn is null)&lt;/PRE&gt;&lt;P&gt;Source: &amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/using-a-single-tool-sort-within-groupings-join-and/idi-p/1525355/highlight/true" target="_self"&gt;Using a single tool: Sort within groupings, join, and fill gaps&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 01:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/1-m-join-to-pull-feature-with-specific-attribute/m-p/1528353#M45356</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-08-28T01:47:20Z</dc:date>
    </item>
  </channel>
</rss>

