<?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: Symbology base on multiple fields Coded Values in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1487418#M59629</link>
    <description>&lt;P&gt;Thanks for the input.&amp;nbsp; This is what I pretty much ended up doing.&amp;nbsp; Just would be nice if this could happen without having to add the remainders manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2024 19:21:48 GMT</pubDate>
    <dc:creator>Heberlyeng</dc:creator>
    <dc:date>2024-06-07T19:21:48Z</dc:date>
    <item>
      <title>Symbology base on multiple fields Coded Values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1484678#M59549</link>
      <description>&lt;P&gt;I am trying to create an expression that will return all coded values from two fields (STATUS and Funding_Source) so that I can symbolize based on the results.&lt;/P&gt;&lt;P&gt;For example. if I have Status's coded values as:&lt;/P&gt;&lt;P&gt;A,&amp;nbsp;B, C&lt;/P&gt;&lt;P&gt;and Funding_Source as:&lt;/P&gt;&lt;P&gt;X, Y,&amp;nbsp;Z&lt;/P&gt;&lt;P&gt;I want symbology for:&lt;/P&gt;&lt;P&gt;A-X, A-Y, A-Z, B-X,&amp;nbsp;B-Y,&amp;nbsp;B-Z,&amp;nbsp;C-X,&amp;nbsp;C-Y,&amp;nbsp;C-Z&lt;/P&gt;&lt;P&gt;If I use concatenate($feature.STATUS,'-',$feature.Funding_Source)&lt;/P&gt;&lt;P&gt;I only get values for populated fields not all coded values)&lt;/P&gt;&lt;P&gt;I tried building an arcade expression:&lt;/P&g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i&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;&lt;SPAN&gt;code&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'-'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;FD&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;&lt;SPAN&gt;code&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;STarray&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;It returns an array of exactly what I want, but it makes 1 symbol with a legend value of the entire array output.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there a way to symbolize on two fields and get all coded values?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks much,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;JB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jun 2024 18:55:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1484678#M59549</guid>
      <dc:creator>Heberlyeng</dc:creator>
      <dc:date>2024-06-04T18:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Symbology base on multiple fields Coded Values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1485625#M59589</link>
      <description>&lt;P&gt;In Map viewer symbology, click Expression:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_0-1717614167193.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106293iE9D97DEA25681E7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="RhettZufelt_0-1717614167193.png" alt="RhettZufelt_0-1717614167193.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var SD = DomainName($feature, "Status")
var FD = DomainName($feature, "Funding_Source")
return Concatenate(SD,'-',FD)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which, since I already had several of the combinations in the data, it automatically sets up those class values.&lt;/P&gt;&lt;P&gt;Then, I added a new polygon "B-Y" since it wasn't already in the list, but it symbolizes by "Other".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_2-1717614322652.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106295i89DF93876FBC3E0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="RhettZufelt_2-1717614322652.png" alt="RhettZufelt_2-1717614322652.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, select the three dots and Add Value:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_0-1717614764523.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106298iA234498D157497E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="RhettZufelt_0-1717614764523.png" alt="RhettZufelt_0-1717614764523.png" /&gt;&lt;/span&gt;&lt;P&gt;And enter the value(s) you want (here I add the missing "B-Y")&lt;/P&gt;&lt;P&gt;And it now symbolizes by the newly added value instead of "Other".&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_1-1717614823276.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106299i4E28E2937AB8D60D/image-size/large?v=v2&amp;amp;px=999" role="button" title="RhettZufelt_1-1717614823276.png" alt="RhettZufelt_1-1717614823276.png" /&gt;&lt;/span&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 19:14:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1485625#M59589</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2024-06-05T19:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Symbology base on multiple fields Coded Values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1487418#M59629</link>
      <description>&lt;P&gt;Thanks for the input.&amp;nbsp; This is what I pretty much ended up doing.&amp;nbsp; Just would be nice if this could happen without having to add the remainders manually.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 19:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1487418#M59629</guid>
      <dc:creator>Heberlyeng</dc:creator>
      <dc:date>2024-06-07T19:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Symbology base on multiple fields Coded Values</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1487537#M59641</link>
      <description>&lt;P&gt;If I have to do this with many values, I find it easier to just create a features for each value off to the side before I create the symbology.&lt;/P&gt;&lt;P&gt;Once the symbology is created (and saved) you can delete the temp features.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2024 01:33:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/symbology-base-on-multiple-fields-coded-values/m-p/1487537#M59641</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2024-06-08T01:33:31Z</dc:date>
    </item>
  </channel>
</rss>

