<?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: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112604#M43601</link>
    <description>&lt;P&gt;I am joining a shapefile of broadband deployment data aggregated to Census blocks to a shapefile of Census blocks containing urban/rural designations and households for each Census bock. The key field is not the FID field, it is the Census block number field. I don't know what you mean by a multi-part shapefile. The broadband data shapefile contains a total of 982,015 features, including multiple instances of many Census blocks, depending upon how many different providers are offering service in each, how many different technology types are deployed in each, and how many different downstream and upstream speed combinations are offered by providers in each. The Census blocks shapefile contains 519,723 features - one record for each unique Census block.&lt;/P&gt;&lt;P&gt;I want to find out how many urban and rural households are in Census blocks where the maximum advertised downstream and upstream speeds are at least 25mbps/3mbps. So I created a definition query in the broadband shapefile to show only Census blocks at 25/3 or greater. This reduced the size of the attribute table from 982,015 records to 654,582 records. Then I performed an attribute join of the broadband shapefile to the Census block shapefile, keeping only joined records. The join reduced the Census block shapefile from 519,723 features to 256,773 features. In other words, 256,773 of the 519,723 Census blocks in California have 25/3 broadband service somewhere in them. Then I summed the households field and got 10,289,120, meaning that there are 10,289,120 households in Census blocks where 25/3 service is offered in California. Then I created selection sets in the Census shapefile's attribute table to find out how many of the 10,289,120 households were in urban and rural areas. So far, so good.&lt;/P&gt;&lt;P&gt;However, upon checking my work by using a different method (exporting the definition query from the broadband shapefile to a stand alone dbf, then joining the dbf to the Census block shapefile) I arrived at the result that 25/3 broadband is available in 317,712 unique Census blocks containing 12,741,341 households. I remain shocked and perplexed, as I thought a shp-to-shp attribute join would be functionally the same in this case as a dbf-to-shp attribute join. Can you please explain why this is not the case? And which method gives the correct result without double-counting households? I am not looking to extract information from specific Census blocks, I am only interested in the overall totals of how many households are in Census blocks where ANY provider offers broadband at 25/3 or more.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 30 Oct 2021 00:24:41 GMT</pubDate>
    <dc:creator>DionGood</dc:creator>
    <dc:date>2021-10-30T00:24:41Z</dc:date>
    <item>
      <title>dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112584#M43599</link>
      <description>&lt;P&gt;Why is it that a dbf-to-shp attribute join results in a different number of joins than a shp-to-shp attribute join of the same data? When I join the attribute table of one shapefile to another shapefile I get a certain number of joins. But when I export the table to dbf and join it the the same shapefile, I get a different (greater) number of joins. Shouldn't both routines result in the same number of joins? It is the same data, after all. Please help, this is really messing up my analysis. I am using ArcGIS Desktop.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 22:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112584#M43599</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-10-29T22:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112595#M43600</link>
      <description>&lt;P&gt;on the FID (aka object ID field) or are you using an attribute&lt;/P&gt;&lt;P&gt;multipart shapes will cause a difference.&lt;/P&gt;&lt;P&gt;you will need to elaborate on what fields you are joining and whether the values in both tables have unique entries for each join&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 23:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112595#M43600</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-10-29T23:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112604#M43601</link>
      <description>&lt;P&gt;I am joining a shapefile of broadband deployment data aggregated to Census blocks to a shapefile of Census blocks containing urban/rural designations and households for each Census bock. The key field is not the FID field, it is the Census block number field. I don't know what you mean by a multi-part shapefile. The broadband data shapefile contains a total of 982,015 features, including multiple instances of many Census blocks, depending upon how many different providers are offering service in each, how many different technology types are deployed in each, and how many different downstream and upstream speed combinations are offered by providers in each. The Census blocks shapefile contains 519,723 features - one record for each unique Census block.&lt;/P&gt;&lt;P&gt;I want to find out how many urban and rural households are in Census blocks where the maximum advertised downstream and upstream speeds are at least 25mbps/3mbps. So I created a definition query in the broadband shapefile to show only Census blocks at 25/3 or greater. This reduced the size of the attribute table from 982,015 records to 654,582 records. Then I performed an attribute join of the broadband shapefile to the Census block shapefile, keeping only joined records. The join reduced the Census block shapefile from 519,723 features to 256,773 features. In other words, 256,773 of the 519,723 Census blocks in California have 25/3 broadband service somewhere in them. Then I summed the households field and got 10,289,120, meaning that there are 10,289,120 households in Census blocks where 25/3 service is offered in California. Then I created selection sets in the Census shapefile's attribute table to find out how many of the 10,289,120 households were in urban and rural areas. So far, so good.&lt;/P&gt;&lt;P&gt;However, upon checking my work by using a different method (exporting the definition query from the broadband shapefile to a stand alone dbf, then joining the dbf to the Census block shapefile) I arrived at the result that 25/3 broadband is available in 317,712 unique Census blocks containing 12,741,341 households. I remain shocked and perplexed, as I thought a shp-to-shp attribute join would be functionally the same in this case as a dbf-to-shp attribute join. Can you please explain why this is not the case? And which method gives the correct result without double-counting households? I am not looking to extract information from specific Census blocks, I am only interested in the overall totals of how many households are in Census blocks where ANY provider offers broadband at 25/3 or more.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 00:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112604#M43601</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-10-30T00:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112611#M43602</link>
      <description>&lt;P&gt;The order of the join is important&lt;/P&gt;&lt;P&gt;shp-dbf to dbf&amp;nbsp; vs dbf to shp-dbf&lt;/P&gt;&lt;P&gt;because&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Records from the&amp;nbsp;Join Table&amp;nbsp;can be matched to more than one record in the&amp;nbsp;Input Table.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/join-field.htm" target="_blank"&gt;Join Field (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-join.htm" target="_blank"&gt;Add Join (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;one-one vs one-many&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 03:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112611#M43602</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-10-30T03:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112658#M43603</link>
      <description>&lt;P&gt;Yes, I am aware of this, but in this case it shouldn't matter because I am joining a shp table or dbf with multiple instances of specific Census blocks to a shapefile with only one instance of each unique Census block. I don't care which 25/3 record from the broadband file gets joined to the Census block file, as long as the Census block file registers a join for that Census block, meaning that 25/3 exists in the block. The only way I can make logical sense of this is if NO joins occur where there are many-to-one relationships. But why would this be the case&amp;nbsp; for a shapefile table and not for a stand alone dbf? The same logic should apply.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 20:49:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112658#M43603</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-10-30T20:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112900#M43606</link>
      <description>&lt;P&gt;It sounds like you want a many to one relationship in your join?&amp;nbsp; To accomplish this, you could use another method of analysis called overlay.&amp;nbsp; I did this recently in ArcGIS Online.&amp;nbsp; Do you have a way to test it?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 17:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112900#M43606</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-11-01T17:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112917#M43607</link>
      <description>&lt;P&gt;Yes, I want a many-to-one relationship, but I am only interested in the tabular data, not the spatial dimension.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 18:13:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112917#M43607</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-11-01T18:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112919#M43608</link>
      <description>&lt;P&gt;What version of desktop are you using?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 18:17:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112919#M43608</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-11-01T18:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112934#M43609</link>
      <description>&lt;P&gt;10.6.1&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 18:46:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112934#M43609</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-11-01T18:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112937#M43610</link>
      <description>&lt;P&gt;In ArcGIS Pro its called "Overlay"... and in ArcGIS Desktop its called "Intersect".&amp;nbsp; The overall aspect of the tool is a spatial function, but the output is your key to generating the data table you want.&amp;nbsp; After you intersect the layers, the data will be output to a single feature (shapefile) which you can then use the table to table geoprocessing tool to extract the tabular data of your choice.&amp;nbsp; Here is a link to read up on exactly what it does:&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/10.6/tools/analysis-toolbox/how-intersect-analysis-works.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/10.6/tools/analysis-toolbox/how-intersect-analysis-works.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 18:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1112937#M43610</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-11-01T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1113050#M43611</link>
      <description>&lt;P&gt;I am familiar with intersect, but I am not sure that the correct records will get matched. I have not used it in this way before.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 23:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1113050#M43611</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-11-01T23:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1113147#M43615</link>
      <description>&lt;P&gt;Maybe just try it and see if it works?&amp;nbsp; Its worth a shot.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 11:59:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1113147#M43615</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-11-02T11:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1113782#M43623</link>
      <description>&lt;P&gt;I have accepted the dbf-to-shp attribute join as the correct result, although I still don't understand why this would be. I can't consider this case "resolved" until I do. The articles were not really helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 20:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1113782#M43623</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-11-03T20:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1113789#M43624</link>
      <description>&lt;P&gt;Just a suggestion and you may have already done this... but sometimes doing a google search based on keywords of what you are trying to accomplish with the words ArcGIS Desktop 10.6.1 included.&amp;nbsp; GeoNet is a great resource but you may find another source with the information you are looking for.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 20:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1113789#M43624</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2021-11-03T20:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1119763#M43675</link>
      <description>&lt;P&gt;Attribute Joins do not display the full set of records that actually result from a one-to-many or many-to-many join.&amp;nbsp; The table shown by ArcMap is functionally a one-to-one or many-to-one set of records, meaning that new records are not created in the parent table to match all of the records in the joined table.&amp;nbsp; For all intents and purposes it is hiding from you the true number of denormalized records that would result from the full output of that relational join for performance reasons.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when you do an export the true denormalized record set of the one-to-many or many-to-many records is generated, which inserts records that you would not see in a layer attribute join.&amp;nbsp; This is a desired behavior, since this is the best way to make ArcMap behave like Access when outputting a result from a one-to-many or many-to-many relationship.&amp;nbsp; The export increases the number of records to convert these relationships to a true one-to-one output.&amp;nbsp; Creating a one-to-one representation of the data in the ?-to-many relationships is often useful for a variety of analysis purposes, and I have made use of this export behavior many times.&lt;/P&gt;&lt;P&gt;The difference in your results is exposing an erroneous assumption on your part that the Census Block shape file has only unique values for each Census Block field value.&amp;nbsp; If you do a Summary of your Census Block field in the Census Block table you almost certainly will discover their are duplicate values for one or more of your Census Blocks.&amp;nbsp; If even one Census Block value is duplicated in the shape file that should only have unique values it will double the number of records in the export for that value, and if it is duplicated on 3 features it will triple the values in the output of the export for that value.&amp;nbsp; So if the shapefile that allows duplicate values has 100,000 features with that Census Block value you will end up with 100,000 more records than you expect when you do an export if that value is duplicated and not actually unique.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to clean up your features to merge together all parts of the Census Block into a single multipart feature to actually have a many-to-one relationship like the Attribute Join shows you.&amp;nbsp; The Dissolve tool can do the merge and output a new feature class or you can Edit the existing FC by using the Merge option under the Editor button when you have selected all features for a single Census Block value.&amp;nbsp; That will make that shapefile conform to your relationship assumption and it will behave the same as the Attribute Join when you do an export, since then it will create a many-to-one join and not a many-to-many join with denormalized records hidden by the Attribute Join.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 07:13:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1119763#M43675</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-11-24T07:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1119976#M43680</link>
      <description>&lt;P&gt;Thanks. I don't fully understand your reply, specifically regarding denormalization, but I do know that my data contains duplicates. That is the whole point - I am using an attribute join to get rid of duplicates, so that only one instance of each unique Census block results.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 16:44:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1119976#M43680</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-11-24T16:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1120190#M43682</link>
      <description>&lt;P&gt;Use the Dissolve tool (Data Management Tools, Generalization Toolbox) on the shapefile that is only supposed to have one shape for each Census Block.&amp;nbsp; Only use the Census Block field as a Dissolve field in the tool and add the Census Block field as a Statistics field with a Statistics Type of Count&amp;nbsp; &amp;nbsp;The output will have a single shape for each Census Block and export the results you are are wanting.&amp;nbsp; Anything in the output Count field with a value greater that 1 was split into more than one piece in your original Census Block shapefile.&amp;nbsp; Below is how I would set up the tool for my Census Block feature class and the output with all Census Blocks that collapsed from many features for those Census Block values to a single feature.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dissolve Tool Setup.png" style="width: 758px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28240i4D0F773360B5B58A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dissolve Tool Setup.png" alt="Dissolve Tool Setup.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dissolve Tool Output.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28241i35A1B83F10BF400F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dissolve Tool Output.png" alt="Dissolve Tool Output.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 00:02:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1120190#M43682</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-11-25T00:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1120193#M43683</link>
      <description>&lt;P&gt;No, I don't want or need splitting or dissolving of Census block boundaries. The two files both contain identical 2020 Census block boundaries - one with 519,723 unique features (one feature for each unique Census block) and containing population, households, and housing units data in the attribute table; the other with 1,054,633 features (which include duplicate features for each Census block) and containing broadband data in the attribute table. I want to calculate how many households "have access to" any kind of broadband over 200kbps (the FCC standard). If I join the Census data to the broadband data, the households in each Census block will be counted multiple times when I sum that field. So I must join the broadband data to the Census data so that the households in each Census block get counted only once. However, the number of features joined varies depending on whether I join shapefile-to-shapefile or attribute table-to-shapefile. I have already determined that the method which yields the correct results is to join the broadband attribute table to the Census shapefile. I have done this same exercise with smaller data sets in the past and got the same results with both methods. My question is "why is it not working now?"&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 00:30:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1120193#M43683</guid>
      <dc:creator>DionGood</dc:creator>
      <dc:date>2021-11-25T00:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1120259#M43685</link>
      <description>&lt;LI-SPOILER&gt;&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt; &lt;/LI-SPOILER&gt;&lt;P&gt;Your Census Block feature are not unique in the shapefile or the dbf table that you say has only one feature/record per Census Block value.&amp;nbsp; The only way I will accept that you have proven me wrong is if you do the Dissolve I have shown you or you do a Summary of the Census Blocks and find that the count of every Census Block value is 1.&amp;nbsp; If you refuse to do that your on your own to figure this out.&amp;nbsp; But I can assure you that the problem is not with the software, it is with your unproven assumptions about your data.&lt;/P&gt;&lt;P&gt;A difference in the presence or absence of an FID field in the shapefile and table is another factor that can affect the export behavior, but it would be unusual for either if those file types to lack an FID field.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 07:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1120259#M43685</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-11-25T07:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: dbf-to-shp attribute join gives dofferent result than shp-to-shp attribute join.</title>
      <link>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1120265#M43686</link>
      <description>&lt;P&gt;I reexamined your methodology and think there my be an alternative explanation of this behavior that still involves the difference in the behavior of a layer attribute join and the export of that join.&amp;nbsp; The Attribute Join of a layer in Arcmap is in reality a one-to-one join that only considers the first record in the one-to-many relationship when it applies the definition query.&amp;nbsp; So if the first record it encounters does not meet your query criteria the record is filtered out, even if the second record of the join would have met your criteria.&amp;nbsp; However, an export examines all records in the joined table and will include matches that fail to meet your criteria on the first record, but succeed on the second record or any other records than the first.&amp;nbsp; The export may also create duplicates of the Census Blocks if more than one record in the join table meets your query definition (if the inputs of the join came from the same file geodatabase this duplication of records would definitely occur).&amp;nbsp; Both methods can produce incorrect results for what you want to achieve, which makes the use of ?-to many joins unreliable and unsuitable for this kind of analysis.&lt;/P&gt;&lt;P&gt;The proper way to do this analysis to ensure all records that meet your criteria are included and no duplication happens is to do the following steps:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create a definition query in the broadband shapefile to show only Census blocks at 25/3 or greater. This reduces the size of the attribute table from 982,015 records to 654,582 records.&amp;nbsp; Perform a Summary on the Census Blocks field of that shapefile to get a table that contains only one record for each unique Census Block value.&amp;nbsp; You could include the first and last or min and max values in the 24/3 fields in the output, but that is optional. Then perform an attribute join of the Census Block shapefile as the target table to the Summary output as the join table, keeping only joined records.&amp;nbsp; Both the Attribute Join and the export will show the same number of records that the Summary table contains (provided all of the Census Block shapefile features are in fact unique) since both will be the output of a true one-to-one join.&amp;nbsp; This methodology will reliably and consistantly give the sum of households for all Census Blocks that actually meet your criteria.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MS Access would also require you to do the same step of creating a Summary query first, and then using that summary output for creating a one-to-one relationship with the Census Blocks in order to get the sum of households you want, so this is the standard&amp;nbsp; database methodology for solving this problem.&amp;nbsp; MS Access is incapable of providing you with the sum of households you want directly from any ?-to-many relationship.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 15:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/dbf-to-shp-attribute-join-gives-dofferent-result/m-p/1120265#M43686</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2021-11-25T15:28:08Z</dc:date>
    </item>
  </channel>
</rss>

