PROBLEMA

La unión de dos campos no devuelve ningún valor coincidente en ArcGIS Pro

Last Published: December 6, 2024

Descripción

In ArcGIS Pro, when attempting to join two common fields from different tables using the Add Join tool, no matching values are returned in the joined table.

The joined table is from Day 1 and Day 1_CSV layers. The two common fields in the joined table are altitudes and altitude where no matching values are returned in the table. The data type of altitudes is Float.

Causa

The data types of the common fields do not match.

Solución o solución alternativa

The data types of the common fields must be the same to join a layer to another layer or table in ArcGIS Pro. For example, a float field cannot be joined with a double field as the data types of the fields are different. Refer to ArcGIS Pro: Join the attributes from a table for more information.

To resolve this issue, change one of the field data types to the same data type as the other common field by creating a new field in the layer’s attribute table, and use the Calculate Field tool to populate the values of the new field. Refer to How To: Change the data type of an existing field in ArcGIS Pro for instructions.

The image below shows matching values are returned in the joined table when joining two common fields with the same data type in ArcGIS Pro.

The joined table is from Day 1 and Day 1_CSV layers. The two common fields in the joined table are altitude and altitude where matching values are returned in the table. The data type of altitude is changed to Double.

Id. de artículo: 000025381

Recibir notificaciones y encontrar soluciones a problemas nuevos o comunes

Obtenga respuestas resumidas y soluciones de vídeo de nuestro nuevo chatbot de IA.

Descargar la aplicación de soporte de Esri

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga