<?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: syntax to use multiple join() functions in one calculation cell in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/syntax-to-use-multiple-join-functions-in-one/m-p/1496759#M57497</link>
    <description>&lt;P&gt;That's not how join() works. See &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_self"&gt;Formulas&lt;/A&gt;.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;join(separator, question)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Concatenates all answers to a given question in a repeat, separated by the given separator.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN class=""&gt;join(',', ${question_in_repeat})&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should have three separate calculates for those three joins. Then, use concat() to combine all of the joins and plain text. General example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;concat("\n", ${join_tree_num}, "|", "\n", ${join_dbh}, "\n", ${join_height}, "|")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also, don't mix quotes. Use either single or double.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1719250927572.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107800iD0BDCE8199E7242D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1719250927572.png" alt="abureaux_0-1719250927572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 17:42:16 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2024-06-24T17:42:16Z</dc:date>
    <item>
      <title>syntax to use multiple join() functions in one calculation cell</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/syntax-to-use-multiple-join-functions-in-one/m-p/1495742#M57471</link>
      <description>&lt;P&gt;I'm trying to use join multiple times in once calculation cell. using the code below applies a math formula to it. what syntax should i use?&lt;/P&gt;&lt;TABLE width="567"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="567"&gt;join("\n", ${tree_number}, "|") + join("\n", ${dbh}) + join("\n", ${height}, '|')&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 21 Jun 2024 01:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/syntax-to-use-multiple-join-functions-in-one/m-p/1495742#M57471</guid>
      <dc:creator>WilliamSteinley</dc:creator>
      <dc:date>2024-06-21T01:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: syntax to use multiple join() functions in one calculation cell</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/syntax-to-use-multiple-join-functions-in-one/m-p/1496759#M57497</link>
      <description>&lt;P&gt;That's not how join() works. See &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_self"&gt;Formulas&lt;/A&gt;.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;join(separator, question)&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Concatenates all answers to a given question in a repeat, separated by the given separator.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN class=""&gt;join(',', ${question_in_repeat})&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should have three separate calculates for those three joins. Then, use concat() to combine all of the joins and plain text. General example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;concat("\n", ${join_tree_num}, "|", "\n", ${join_dbh}, "\n", ${join_height}, "|")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also, don't mix quotes. Use either single or double.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1719250927572.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107800iD0BDCE8199E7242D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1719250927572.png" alt="abureaux_0-1719250927572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 17:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/syntax-to-use-multiple-join-functions-in-one/m-p/1496759#M57497</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-06-24T17:42:16Z</dc:date>
    </item>
  </channel>
</rss>

