<?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: Making a response negative based on a previous response in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/making-a-response-negative-based-on-a-previous/m-p/1011313#M31660</link>
    <description>&lt;P&gt;One solution is to use a second, read-only field.&amp;nbsp; Working XLSX attached.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_1-1608493568478.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2637iE5B1D9236577E2B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_1-1608493568478.png" alt="MicZatorsky_AEC_1-1608493568478.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_2-1608493617129.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2638iFF5584283F9348AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="MicZatorsky_AEC_2-1608493617129.png" alt="MicZatorsky_AEC_2-1608493617129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Dec 2020 19:52:48 GMT</pubDate>
    <dc:creator>MicZatorsky_AEC</dc:creator>
    <dc:date>2020-12-20T19:52:48Z</dc:date>
    <item>
      <title>Making a response negative based on a previous response</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/making-a-response-negative-based-on-a-previous/m-p/1011164#M31651</link>
      <description>&lt;P&gt;Hi, This seems like a simple question to me so hopefully someone can help me out before waste too much time working on it. I'm trying to make a decimal value ${Amount} negative based on the response to a previous select_one questions, Is the amount an expense or deposit? Simple enough I would think.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used an if statement in the calculation column to try to accomplish this. Here is the syntax&lt;/P&gt;&lt;P&gt;if(selected(${Transaction_Type},'Expense'),-${Amount},${Amount})&lt;/P&gt;&lt;P&gt;This returns an error. I've tried variants of this syntax with no luck. Like I said seems simple enough. Am I just overlooking something simple or is there a better way to do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 21:41:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/making-a-response-negative-based-on-a-previous/m-p/1011164#M31651</guid>
      <dc:creator>HenryPittman</dc:creator>
      <dc:date>2020-12-18T21:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Making a response negative based on a previous response</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/making-a-response-negative-based-on-a-previous/m-p/1011313#M31660</link>
      <description>&lt;P&gt;One solution is to use a second, read-only field.&amp;nbsp; Working XLSX attached.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_1-1608493568478.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2637iE5B1D9236577E2B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_1-1608493568478.png" alt="MicZatorsky_AEC_1-1608493568478.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_2-1608493617129.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2638iFF5584283F9348AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="MicZatorsky_AEC_2-1608493617129.png" alt="MicZatorsky_AEC_2-1608493617129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 19:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/making-a-response-negative-based-on-a-previous/m-p/1011313#M31660</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2020-12-20T19:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Making a response negative based on a previous response</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/making-a-response-negative-based-on-a-previous/m-p/1011730#M31683</link>
      <description>&lt;P&gt;Thanks so much I knew it was something simple. It didn't like the circular nature of trying to do the calculation in the same filed that the data was enter just wouldn't work. I ended up using it in a calculate question type to hide that from the user and all is well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 15:16:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/making-a-response-negative-based-on-a-previous/m-p/1011730#M31683</guid>
      <dc:creator>HenryPittman</dc:creator>
      <dc:date>2020-12-22T15:16:32Z</dc:date>
    </item>
  </channel>
</rss>

