<?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 Conditional Calculations Logic? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculations-logic/m-p/789550#M7939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field that I'm calculating based off inputs from other fields. If a tree is dead, it gets a score of 8. If a tree isn't dead, then the score is calculated by adding two other values together. I have written:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(selected(${Dead_Tree},'yes'),8,''),if(selected(${Dead_Tree},'no'),'int(${Highest_Potential})+int(${Total_Failure})','')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I keep getting "bad node" errors. How do I write the proper expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2018 17:30:11 GMT</pubDate>
    <dc:creator>deleted-user-jxpbpbjlZInj</dc:creator>
    <dc:date>2018-12-13T17:30:11Z</dc:date>
    <item>
      <title>Conditional Calculations Logic?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculations-logic/m-p/789550#M7939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field that I'm calculating based off inputs from other fields. If a tree is dead, it gets a score of 8. If a tree isn't dead, then the score is calculated by adding two other values together. I have written:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(selected(${Dead_Tree},'yes'),8,''),if(selected(${Dead_Tree},'no'),'int(${Highest_Potential})+int(${Total_Failure})','')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I keep getting "bad node" errors. How do I write the proper expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 17:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculations-logic/m-p/789550#M7939</guid>
      <dc:creator>deleted-user-jxpbpbjlZInj</dc:creator>
      <dc:date>2018-12-13T17:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Calculations Logic?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculations-logic/m-p/789551#M7940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok after more trial and error, I seem to have gotten the result I was looking for with the following forumla:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(selected(${Dead_Tree},'yes'),8,((${Highest_Pot_Score})+(${Total_Fail_Potent})))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 18:37:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculations-logic/m-p/789551#M7940</guid>
      <dc:creator>deleted-user-jxpbpbjlZInj</dc:creator>
      <dc:date>2018-12-13T18:37:13Z</dc:date>
    </item>
  </channel>
</rss>

