<?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: Naming Survey123 captured images in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862860#M26248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, actually yes I'm still working on it. Attached is my xlsx file. The whole groups are quite similar. For example, the group called (Ecosystems), you can find the calculation of the question (Ecosystems_Services_Score) is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(int(${E1})+int(${E2})+int(${E3})+int(${E4})+int(${E5})+int(${E6})) div 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I divided by the number of questions (6), however some may be answered as N/A choice (e.g. two of them). Meaning that I would need it to be (div 4).&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2019 10:42:01 GMT</pubDate>
    <dc:creator>AHMEDSHEHATA1</dc:creator>
    <dc:date>2019-08-01T10:42:01Z</dc:date>
    <item>
      <title>Naming Survey123 captured images</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862858#M26246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I have two questions:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, how can I name the images captured in a repeat, based on the answer of previous question?&lt;/P&gt;&lt;P&gt;For example, I have a question named (siteID) answered as (ST01), can I name the captured images of the repeat, based on that question (ST01_1, ST01_2..., etc).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, is there a way to retrieve the number of answered questions in the group to be used in getting the average?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have 5 questions in a group, the answer of the fifth is the average (${Q1}+${Q2}+&lt;SPAN&gt;${Q3}+${Q4}&lt;/SPAN&gt;) div 4. The issue is that one question may be N/A, means that the average will be div 3. So, I would need to divide by the number of the answered questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;&amp;nbsp;I'd apreciate your feedback&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862858#M26246</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-07-31T13:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Naming Survey123 captured images</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862859#M26247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your first question, this is not currently possible. We have an open enhancement request for this, however it is still in our backlog. See more info on the post I replied to yesterday:&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/237720-can-i-use-a-response-value-from-a-previous-question-for-a-name-field#comment-868224" title="https://community.esri.com/thread/237720-can-i-use-a-response-value-from-a-previous-question-for-a-name-field#comment-868224"&gt;https://community.esri.com/thread/237720-can-i-use-a-response-value-from-a-previous-question-for-a-name-field#comment-86…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your second question, yes this is possible however you will need to use a nested if statement and possibly some hidden questions to store which values have answers and which do not, and use those to flag which values and the total count should be used in your average calculation. If you can share your xlsx file we can take a closer look&amp;nbsp; and provide some guidance&amp;nbsp;if you are still stuck&amp;nbsp;in working it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 01:47:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862859#M26247</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-01T01:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Naming Survey123 captured images</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862860#M26248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, actually yes I'm still working on it. Attached is my xlsx file. The whole groups are quite similar. For example, the group called (Ecosystems), you can find the calculation of the question (Ecosystems_Services_Score) is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(int(${E1})+int(${E2})+int(${E3})+int(${E4})+int(${E5})+int(${E6})) div 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I divided by the number of questions (6), however some may be answered as N/A choice (e.g. two of them). Meaning that I would need it to be (div 4).&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 10:42:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862860#M26248</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-08-01T10:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Naming Survey123 captured images</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862861#M26249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a quick look at your survey and the questions used for&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Ecosystems_Services_Score, and I think the easiest way to work out the average is to do a count in a hidden and/or null field, and then use that for the average. For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Add a new field called &lt;EM&gt;Ecosystems_Services_Count&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;with the following calculation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;if(${E1}=0,0,1) + if(${E2}=0,0,1) + if(${E3}=0,0,1) + if(${E4}=0,0,1) + if(${E5}=0,0,1) + if(${E6}=0,0,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;And then modify&amp;nbsp;&lt;EM&gt;Ecosystems_Services_Score&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;with following calculation:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;(int(${E1})+int(${E2})+int(${E3})+int(${E4})+int(${E5})+int(${E6})) div ${Ecosystems_Services_Count}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Example xlsx file attached. You can do the same to all the other groups that have similar count and average calculations required.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Phil.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 12:23:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862861#M26249</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-01T12:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Naming Survey123 captured images</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862862#M26250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Philip,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, this calculation has done exactly what I needed to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really appreciate your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 21:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/naming-survey123-captured-images/m-p/862862#M26250</guid>
      <dc:creator>AHMEDSHEHATA1</dc:creator>
      <dc:date>2019-08-01T21:33:55Z</dc:date>
    </item>
  </channel>
</rss>

