<?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 Calculated expressions fail when Date field is filled out in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641571#M11262</link>
    <description>&lt;P&gt;Hello, I created a feature class using the Field Maps Designer. I have a Date field (called Manufacture_Date) that is input manually, but is used in a calculated expression for another field (titled Age). I also have several other fields using calculated expressions that do not use the my Manufacture_Date field. When I collect a point, all my calculated expressions work as they are supposed to, until I start filling out the Manufacture_Date field. Then, all my calculated expressions stop working, including ones that do not even use Manufacture_Date in the expression. I have another Date field (Install_Date) that is the exact same field type and has the same properties as Manufacture_Date, except it is not used in any subsequent calculated expressions. When I fill out Install_Date, my calculated expressions continue to work just fine. So the source of the error is something to do with my Manufacture_Date being used in a calculated expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have pictures showing the error below. In the first photo, the last 2 fields are generated from calculated expressions (my name and the time that the point is collected, neither are based on the Manufacture_Date field). These work fine until I fill out Manufacture_Date, and then the results of these calculated expressions go away.&lt;/P&gt;&lt;P&gt;Has anyone seen a similar issue and are there any known workarounds?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Aug 2025 15:08:28 GMT</pubDate>
    <dc:creator>AmberMillison</dc:creator>
    <dc:date>2025-08-13T15:08:28Z</dc:date>
    <item>
      <title>Calculated expressions fail when Date field is filled out</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641571#M11262</link>
      <description>&lt;P&gt;Hello, I created a feature class using the Field Maps Designer. I have a Date field (called Manufacture_Date) that is input manually, but is used in a calculated expression for another field (titled Age). I also have several other fields using calculated expressions that do not use the my Manufacture_Date field. When I collect a point, all my calculated expressions work as they are supposed to, until I start filling out the Manufacture_Date field. Then, all my calculated expressions stop working, including ones that do not even use Manufacture_Date in the expression. I have another Date field (Install_Date) that is the exact same field type and has the same properties as Manufacture_Date, except it is not used in any subsequent calculated expressions. When I fill out Install_Date, my calculated expressions continue to work just fine. So the source of the error is something to do with my Manufacture_Date being used in a calculated expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have pictures showing the error below. In the first photo, the last 2 fields are generated from calculated expressions (my name and the time that the point is collected, neither are based on the Manufacture_Date field). These work fine until I fill out Manufacture_Date, and then the results of these calculated expressions go away.&lt;/P&gt;&lt;P&gt;Has anyone seen a similar issue and are there any known workarounds?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 15:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641571#M11262</guid>
      <dc:creator>AmberMillison</dc:creator>
      <dc:date>2025-08-13T15:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated expressions fail when Date field is filled out</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641652#M11265</link>
      <description>&lt;P&gt;What do the calculated expressions that use the Manufacture_Date field look like?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 17:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641652#M11265</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-08-13T17:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated expressions fail when Date field is filled out</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641658#M11266</link>
      <description>&lt;P&gt;Hello, this is what I have:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AmberMillison_0-1755108214742.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138468i53122F3199A9ED27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AmberMillison_0-1755108214742.png" alt="AmberMillison_0-1755108214742.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 18:04:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641658#M11266</guid>
      <dc:creator>AmberMillison</dc:creator>
      <dc:date>2025-08-13T18:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated expressions fail when Date field is filled out</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641672#M11267</link>
      <description>&lt;P&gt;Since you haven't specified the units for the DateDiff function, it's going to return the difference in milliseconds. What happens if you format to return it in years (and round it to two decimal places)?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Round(DateDiff(Now(), $feature.Manufacture_date, 'years'), 2);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 18:35:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641672#M11267</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-08-13T18:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated expressions fail when Date field is filled out</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641725#M11268</link>
      <description>&lt;P&gt;Thank you so much!! This fixed it!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 19:39:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/calculated-expressions-fail-when-date-field-is/m-p/1641725#M11268</guid>
      <dc:creator>AmberMillison</dc:creator>
      <dc:date>2025-08-13T19:39:31Z</dc:date>
    </item>
  </channel>
</rss>

