<?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 Set field datatypes when using Excel file in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/set-field-datatypes-when-using-excel-file/idi-p/1367698</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have an Excel .XLSX spreadsheet that I want to use in ArcGIS Pro:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1704775200213.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90910i52FF8C4078DBB3E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1704775200213.png" alt="Bud_0-1704775200213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I navigate to the spreadsheet in Catalog and open the Fields view, I see that ArcGIS Pro has guessed at the datatypes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1704775478524.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90911i70DC84C72D3F779D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1704775478524.png" alt="Bud_1-1704775478524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Those datatypes aren't quite right. The integer fields have been interpreted as doubles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to change the interpreted datatypes from double to integer for clean data analysis and join purposes. But if I understand correctly, that doesn't seem to be possible without doing something like the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Import the table to a geodatabase&lt;/LI&gt;&lt;LI&gt;Rename the fields to ..._OLD&lt;/LI&gt;&lt;LI&gt;Create new fields with the correct datatype&lt;/LI&gt;&lt;LI&gt;Populate new fields via a field calculation&lt;/LI&gt;&lt;LI&gt;Delete the ..._OLD fields.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;That's not ideal.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Too much effort.&lt;/LI&gt;&lt;LI&gt;Now I'm using a copy of the data instead of the refreshable Excel data.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It's my guess that the Excel data has been copied into memory or into an FGDB somewhere (that's why we're able to do things like &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-uses-the-sqlite-sql-dialect-for/m-p/1366627" target="_self"&gt;use SQLite SQL on Excel files&lt;/A&gt;). If that's the case, could we have the option of setting/overriding the field datatypes? Maybe it would be as simple as making the Fields View editable instead of read-only.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 05:01:45 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-01-09T05:01:45Z</dc:date>
    <item>
      <title>Set field datatypes when using Excel file</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/set-field-datatypes-when-using-excel-file/idi-p/1367698</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have an Excel .XLSX spreadsheet that I want to use in ArcGIS Pro:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1704775200213.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90910i52FF8C4078DBB3E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1704775200213.png" alt="Bud_0-1704775200213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I navigate to the spreadsheet in Catalog and open the Fields view, I see that ArcGIS Pro has guessed at the datatypes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1704775478524.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90911i70DC84C72D3F779D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1704775478524.png" alt="Bud_1-1704775478524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Those datatypes aren't quite right. The integer fields have been interpreted as doubles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to change the interpreted datatypes from double to integer for clean data analysis and join purposes. But if I understand correctly, that doesn't seem to be possible without doing something like the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Import the table to a geodatabase&lt;/LI&gt;&lt;LI&gt;Rename the fields to ..._OLD&lt;/LI&gt;&lt;LI&gt;Create new fields with the correct datatype&lt;/LI&gt;&lt;LI&gt;Populate new fields via a field calculation&lt;/LI&gt;&lt;LI&gt;Delete the ..._OLD fields.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;That's not ideal.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Too much effort.&lt;/LI&gt;&lt;LI&gt;Now I'm using a copy of the data instead of the refreshable Excel data.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It's my guess that the Excel data has been copied into memory or into an FGDB somewhere (that's why we're able to do things like &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-uses-the-sqlite-sql-dialect-for/m-p/1366627" target="_self"&gt;use SQLite SQL on Excel files&lt;/A&gt;). If that's the case, could we have the option of setting/overriding the field datatypes? Maybe it would be as simple as making the Fields View editable instead of read-only.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 05:01:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/set-field-datatypes-when-using-excel-file/idi-p/1367698</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-09T05:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set field datatypes when using Excel file</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/set-field-datatypes-when-using-excel-file/idc-p/1662534#M36594</link>
      <description>&lt;P&gt;It's even worse when you have a field that has mostly numeric values, but also has text catch-alls.&lt;BR /&gt;I have a dataset that has counts through 12, then a "&amp;gt; 12" value and "N/A".&amp;nbsp;&lt;BR /&gt;Arc Pro interpreted that as a double, because most of the values were numeric, but left me without data for the &amp;gt;12 and N/A rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can right click on an Excel sheet in catalog and bring up Data Design -&amp;gt; Fields, but it's "read-only". This is the perfect place to set your preferred field type, which you could do prior to importing the datasheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calling that "read-only" is nonsense, since it was arbitrary assumption by the software, not something that is coded into the Excel sheet. There is absolutely no reason why I shouldn't be able to override the assumed field type.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkGo_0-1761924699324.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142992i0C5305167AFD28D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkGo_0-1761924699324.png" alt="MarkGo_0-1761924699324.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 15:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/set-field-datatypes-when-using-excel-file/idc-p/1662534#M36594</guid>
      <dc:creator>MarkGo</dc:creator>
      <dc:date>2025-10-31T15:32:08Z</dc:date>
    </item>
  </channel>
</rss>

