<?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 How to display Series Chart with age range from a question in Survey123? in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-display-series-chart-with-age-range-from-a/m-p/727564#M3893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dashboard that shows the results of a Survey123 form. One question is&amp;nbsp;Age? with an integer result. What is the best way to display a Series Chart with different age ranges. For example, for simplicity, 0-9, 10-14, 15-18, 19-24, and 25+.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could add a new "ageRange" field in the survey for&amp;nbsp;with the following calculation:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;if(${age} &amp;lt;= 9,1,&lt;SPAN&gt;if(${age} &amp;gt;= 10 and ${age} &amp;lt;= 14,2,if(${age}&amp;nbsp;&lt;SPAN&gt;&amp;gt;= 15 and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;${age} &amp;lt;= 18&lt;/SPAN&gt;&lt;SPAN&gt;,3,if(${age}&amp;nbsp;&lt;SPAN&gt;&amp;gt;= 19 and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;${age} &amp;lt;= 19&lt;/SPAN&gt;&lt;SPAN&gt;,4,5)&lt;/SPAN&gt;)&lt;/SPAN&gt;)&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;Then, the dashboard would use integer values: 1:&amp;nbsp;&lt;SPAN&gt;0-9, 2:10-14, 3: 15-18, 4: 19-24, and&amp;nbsp;5:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;25+&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There must be a better way! Does anyone have any suggestions? Should I be asking this question in a different forum?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chuck&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2020 21:47:24 GMT</pubDate>
    <dc:creator>Soper_Chuck</dc:creator>
    <dc:date>2020-07-17T21:47:24Z</dc:date>
    <item>
      <title>How to display Series Chart with age range from a question in Survey123?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-display-series-chart-with-age-range-from-a/m-p/727564#M3893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dashboard that shows the results of a Survey123 form. One question is&amp;nbsp;Age? with an integer result. What is the best way to display a Series Chart with different age ranges. For example, for simplicity, 0-9, 10-14, 15-18, 19-24, and 25+.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could add a new "ageRange" field in the survey for&amp;nbsp;with the following calculation:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;if(${age} &amp;lt;= 9,1,&lt;SPAN&gt;if(${age} &amp;gt;= 10 and ${age} &amp;lt;= 14,2,if(${age}&amp;nbsp;&lt;SPAN&gt;&amp;gt;= 15 and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;${age} &amp;lt;= 18&lt;/SPAN&gt;&lt;SPAN&gt;,3,if(${age}&amp;nbsp;&lt;SPAN&gt;&amp;gt;= 19 and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;${age} &amp;lt;= 19&lt;/SPAN&gt;&lt;SPAN&gt;,4,5)&lt;/SPAN&gt;)&lt;/SPAN&gt;)&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;Then, the dashboard would use integer values: 1:&amp;nbsp;&lt;SPAN&gt;0-9, 2:10-14, 3: 15-18, 4: 19-24, and&amp;nbsp;5:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;25+&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There must be a better way! Does anyone have any suggestions? Should I be asking this question in a different forum?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chuck&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2020 21:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/how-to-display-series-chart-with-age-range-from-a/m-p/727564#M3893</guid>
      <dc:creator>Soper_Chuck</dc:creator>
      <dc:date>2020-07-17T21:47:24Z</dc:date>
    </item>
  </channel>
</rss>

