<?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: Calculate fields in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314837#M13665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;python parser&lt;/P&gt;&lt;P&gt;X and Y , two fields&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;

y &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;20&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;"{} {}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'10 20'&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you would therefore use !YourField! for each of the x and y values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String concatenation in python, or check out arcade. but vb stuff is the new cobol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:59:27 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2021-12-11T14:59:27Z</dc:date>
    <item>
      <title>Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314835#M13663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to concatenate a couple XY values&lt;/P&gt;&lt;P&gt;I have the X and Y fields (Double data type)&lt;/P&gt;&lt;P&gt;I created a Test field (string)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCAT(X, Y)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then simply tried to calculate a simple test field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME&amp;nbsp; - this is a field name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error:&lt;/P&gt;&lt;P&gt;ERROR002536 Table Jurisdictions does not support or is in a state to support SQL Expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&amp;nbsp; Can do this in ArcMap in 2 seconds...ArcPro....ugggggg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 17:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314835#M13663</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2018-03-29T17:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314836#M13664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't have an answer for you; how do you use CONCAT(X,Y) in ArcMap?&amp;nbsp; I get the same error as you&amp;nbsp; in ArcGIS Pro using the SQL parser choice, but if fails in ArcMap for me. I've never used CONCAT(X,Y) before and had to google it just to find out what it is.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this simple Python def() to work in Pro:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/400189_pastedImage_3.png" style="width: 620px; height: 742px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 21:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314836#M13664</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-03-29T21:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314837#M13665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;python parser&lt;/P&gt;&lt;P&gt;X and Y , two fields&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;x &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;

y &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;20&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;"{} {}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'10 20'&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you would therefore use !YourField! for each of the x and y values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String concatenation in python, or check out arcade. but vb stuff is the new cobol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:59:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314837#M13665</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T14:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314838#M13666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's guys....both do the trick....have to pick one for the answer....I like Dan's simpler approach but both answers are greatly appreciated....Still confused why simply SQL statements are not working in the SQL Expression Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somethin such as the below is failing&lt;/P&gt;&lt;P&gt;FieldName =&lt;/P&gt;&lt;P&gt;'TestingValue'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldName=&lt;/P&gt;&lt;P&gt;"TestingValue"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 12:38:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314838#M13666</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2018-03-30T12:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314839#M13667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You said that you get&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;ERROR002536 Table Jurisdictions does not support or is in a state to support SQL Expressions&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;That's the error in Pro?&amp;nbsp; Can you send a screenshot?&amp;nbsp; What database are you working with (file, Oracle, SQL server, etc.?) and version?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 13:07:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314839#M13667</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2018-03-30T13:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314840#M13668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is ArcGIS Pro 2.1.2&lt;/P&gt;&lt;P&gt;I am simply hitting a shapefile - I havent tried on a GDB or SDE FC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="400288" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/400288_pastedImage_2.png" style="width: 620px; height: 394px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="400287" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/400287_pastedImage_1.png" style="width: 620px; height: 666px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 17:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314840#M13668</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2018-03-30T17:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314841#M13669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;python3&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/400264_hello.png" style="width: 380px; height: 667px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 17:56:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314841#M13669</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-30T17:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314842#M13670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my example was the most simplistic I could think of...why does it fail with SQL Expression, which is the main question in this thread...&lt;/P&gt;&lt;P&gt;I was able to get it working in Python3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 18:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314842#M13670</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2018-03-30T18:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314843#M13671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;shapefiles (yours) and geodatabase tables (mine) apparently don't support unless you 'do' something.&lt;/P&gt;&lt;P&gt;Maybe yours and mine is obviously not an sql thing.&amp;nbsp; I never use sql, I had erroneously assumed that yours was a valid sql thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="400297" alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/400297_fail.png" style="width: 505px; height: 389px;" /&gt;&lt;/P&gt;&lt;P&gt;Which... according to the help are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image" src="/legacyfs/online/400298_Field_calculator types.png" style="width: 510px; height: 503px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 18:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314843#M13671</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-30T18:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314844#M13672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apparently....&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/400299_sql.png" style="height: 478px;" width="386" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 18:57:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314844#M13672</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-30T18:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314845#M13673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or like the help says in your previous post, an enterprise geodatabase table.&amp;nbsp; So... a feature service or egdb table, not file gdb or shapefile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 18:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314845#M13673</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2018-03-30T18:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314846#M13674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that from the help... just waiting for Jay to see it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 19:01:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314846#M13674</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-30T19:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314847#M13675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kory... this would also be a good place in the interface to put the 'verify' check box above the box rather than below and/or put all 'fail' cases in the 'messages' section when the expression fails. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't know if that is a big issue in updating tool verification and/or fail errors in tools.&amp;nbsp; I find sometimes they aren't complete or you have to check in different places (if offered)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 19:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314847#M13675</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-30T19:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314848#M13676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It says that SQL Expressions were implemented to better support bla bla bla.....I read it...Better support NOT will work with these file types and not these....would be nice if the text and documentation was a bit more specific.&lt;/P&gt;&lt;P&gt;A simple line - Will not work with gdb or shapefiles.&amp;nbsp; 7 words eliminates all this confusion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 19:16:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314848#M13676</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2018-03-30T19:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314849#M13677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mystery solved... Kory will pass the comments on to Pro team I am sure.&lt;/P&gt;&lt;P&gt;you may as well close since Python expressions are much cooler anyway &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 20:06:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314849#M13677</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-30T20:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314850#M13678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already have passed this feedback about the SQL expression section of the Calculate Field help to the geoprocessing team.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 20:08:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-fields/m-p/314850#M13678</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2018-03-30T20:08:34Z</dc:date>
    </item>
  </channel>
</rss>

