<?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: Pro Arcade Expression using When in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629960#M28031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #5c2699; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;When&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;(density &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #1c00cf; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;50&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; ,&amp;amp;quot: ; color: #c41a16; white-space: pre; font-weight: 400; letter-spacing: 0px; text-decoration: none; lucida console&amp;amp;quot: ; consolas&amp;amp;quot: ; font-size: 14.46px; font-style: normal; background-color: transparent; ,monospace: ; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; andale mono&amp;amp;quot: ; font-family: &amp;amp;quot; orphans: 2; monaco&amp;amp;quot: ; text-align: left;"&gt;'low'&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, density &amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #1c00cf; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;50&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt; &amp;amp;&amp;amp; density &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #1c00cf; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;100&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; ,&amp;amp;quot: ; color: #c41a16; white-space: pre; font-weight: 400; letter-spacing: 0px; text-decoration: none; lucida console&amp;amp;quot: ; consolas&amp;amp;quot: ; font-size: 14.46px; font-style: normal; background-color: transparent; ,monospace: ; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; andale mono&amp;amp;quot: ; font-family: &amp;amp;quot; orphans: 2; monaco&amp;amp;quot: ; text-align: left;"&gt;'medium'&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, density &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #1c00cf; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;100&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; ,&amp;amp;quot: ; color: #c41a16; white-space: pre; font-weight: 400; letter-spacing: 0px; text-decoration: none; lucida console&amp;amp;quot: ; consolas&amp;amp;quot: ; font-size: 14.46px; font-style: normal; background-color: transparent; ,monospace: ; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; andale mono&amp;amp;quot: ; font-family: &amp;amp;quot; orphans: 2; monaco&amp;amp;quot: ; text-align: left;"&gt;'high'&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; ,&amp;amp;quot: ; color: #c41a16; white-space: pre; font-weight: 400; letter-spacing: 0px; text-decoration: none; lucida console&amp;amp;quot: ; consolas&amp;amp;quot: ; font-size: 14.46px; font-style: normal; background-color: transparent; ,monospace: ; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; andale mono&amp;amp;quot: ; font-family: &amp;amp;quot; orphans: 2; monaco&amp;amp;quot: ; text-align: left;"&gt;'n/a'&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;from here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/logical_functions/"&gt;https://developers.arcgis.com/arcade/function-reference/logical_functions/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;I think the square braces was being taken too literally in your expression&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2018 15:57:23 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-04-02T15:57:23Z</dc:date>
    <item>
      <title>Pro Arcade Expression using When</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629959#M28030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to calculate a field in Pro based off another field using the When function in Arcade.&amp;nbsp; The field I am calculating off (TYPE) is numeric with values such as 1,2,3,4.&amp;nbsp; The field I am calculating is text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Calculate field and select Arcade for Expression Type and add the following text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var&amp;nbsp;type&amp;nbsp;= $feature.TYPE;&lt;BR /&gt;When([type = 1, 'Primary',&amp;nbsp;type = 2, 'Secondary',&amp;nbsp;type = 3, 'Tertiary'], 'N/A')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, when I verify the expression I get the following error message&lt;/P&gt;&lt;P&gt;"Invalid Expression&lt;/P&gt;&lt;P&gt;Error 0 on line 2.&lt;/P&gt;&lt;P&gt;Close square brace expected."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I was following the sample in the documentation, so I'm confused that I would get an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to solve this issue is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 15:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629959#M28030</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-04-02T15:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pro Arcade Expression using When</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629960#M28031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #5c2699; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;When&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;(density &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #1c00cf; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;50&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; ,&amp;amp;quot: ; color: #c41a16; white-space: pre; font-weight: 400; letter-spacing: 0px; text-decoration: none; lucida console&amp;amp;quot: ; consolas&amp;amp;quot: ; font-size: 14.46px; font-style: normal; background-color: transparent; ,monospace: ; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; andale mono&amp;amp;quot: ; font-family: &amp;amp;quot; orphans: 2; monaco&amp;amp;quot: ; text-align: left;"&gt;'low'&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, density &amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #1c00cf; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;50&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt; &amp;amp;&amp;amp; density &amp;lt; &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #1c00cf; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;100&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; ,&amp;amp;quot: ; color: #c41a16; white-space: pre; font-weight: 400; letter-spacing: 0px; text-decoration: none; lucida console&amp;amp;quot: ; consolas&amp;amp;quot: ; font-size: 14.46px; font-style: normal; background-color: transparent; ,monospace: ; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; andale mono&amp;amp;quot: ; font-family: &amp;amp;quot; orphans: 2; monaco&amp;amp;quot: ; text-align: left;"&gt;'medium'&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, density &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #1c00cf; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;100&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; ,&amp;amp;quot: ; color: #c41a16; white-space: pre; font-weight: 400; letter-spacing: 0px; text-decoration: none; lucida console&amp;amp;quot: ; consolas&amp;amp;quot: ; font-size: 14.46px; font-style: normal; background-color: transparent; ,monospace: ; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; andale mono&amp;amp;quot: ; font-family: &amp;amp;quot; orphans: 2; monaco&amp;amp;quot: ; text-align: left;"&gt;'high'&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="-webkit-text-stroke-width: 0px; ,&amp;amp;quot: ; color: #c41a16; white-space: pre; font-weight: 400; letter-spacing: 0px; text-decoration: none; lucida console&amp;amp;quot: ; consolas&amp;amp;quot: ; font-size: 14.46px; font-style: normal; background-color: transparent; ,monospace: ; text-transform: none; word-spacing: 0px; font-variant: normal; text-indent: 0px; andale mono&amp;amp;quot: ; font-family: &amp;amp;quot; orphans: 2; monaco&amp;amp;quot: ; text-align: left;"&gt;'n/a'&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;from here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/logical_functions/"&gt;https://developers.arcgis.com/arcade/function-reference/logical_functions/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;I think the square braces was being taken too literally in your expression&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 15:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629960#M28031</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-02T15:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pro Arcade Expression using When</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629961#M28032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the documentation I was reading when attempting to use the When expression.&amp;nbsp; I thought I would be able to use = in my expression as the documentation does not indicate you cannot use =, but that seems to be the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I changed my syntax to:&lt;/P&gt;&lt;P&gt;When(type &amp;lt; 2, 'Primary', &lt;SPAN&gt;type&lt;/SPAN&gt; &amp;gt; 1 &amp;amp;&amp;amp; &lt;SPAN&gt;type&lt;/SPAN&gt;&amp;lt; 3, 'Secondary', &lt;SPAN&gt;type&lt;/SPAN&gt; &amp;gt; 2, 'Tertiary', 'N/A')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to verify the expression and successfully calculate the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I was to use the square braces in my expression I get an error, so the documentation seems misleading in that regard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 16:18:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629961#M28032</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-04-02T16:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pro Arcade Expression using When</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629962#M28033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this:&lt;/P&gt;&lt;P&gt;var $feature.TYPE;&lt;BR /&gt;When(type == 1, 'Primary', type == 2, 'Secondary', type == 3, 'Tertiary', 'N/A')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 16:23:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629962#M28033</guid>
      <dc:creator>BalajiVeera</dc:creator>
      <dc:date>2018-04-02T16:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pro Arcade Expression using When</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629963#M28034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the square brackets are referring to a &lt;EM&gt;list&lt;/EM&gt; of optional parameters, not an actual list&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 16:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pro-arcade-expression-using-when/m-p/629963#M28034</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-02T16:31:45Z</dc:date>
    </item>
  </channel>
</rss>

