<?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: Custom conditional symbology based on multiple categorical columns in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1361016#M76401</link>
    <description>&lt;P&gt;Thank you so much for the quick response &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;Happy Holidays!&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 18:11:47 GMT</pubDate>
    <dc:creator>Ed_</dc:creator>
    <dc:date>2023-12-14T18:11:47Z</dc:date>
    <item>
      <title>Custom conditional symbology based on multiple categorical columns</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1360711#M76363</link>
      <description>&lt;P&gt;So I have to create like two maps based on two separate sets of conditions based on the values in columns `park` and `forest`&lt;/P&gt;&lt;P&gt;Case 1: When both `park` and `forest` values are present color `light pink` (Also can I directly put the color name or HEX code here?). When either one of the values are present then color `light blue`&lt;/P&gt;&lt;P&gt;Arcade code goes here&lt;/P&gt;&lt;P&gt;Case2: When both values are NULL then color `light blue`.&amp;nbsp;&amp;nbsp; When either one of the values are present then color `light pink`&lt;/P&gt;&lt;P&gt;Arcade code goes here&lt;/P&gt;&lt;P&gt;I did try the return function with when and logical operators but kept on getting errors. I am still new to custom symbology with Arcade so guidance will be appreciated.&lt;/P&gt;&lt;P&gt;Sample Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Park   Forest
park   forest
&amp;lt;Null&amp;gt; &amp;lt;Null&amp;gt;
park   forest
park   forest
&amp;lt;Null&amp;gt; forest
park   forest
&amp;lt;Null&amp;gt; forest
&amp;lt;Null&amp;gt; &amp;lt;Null&amp;gt;
&amp;lt;Null&amp;gt; forest
&amp;lt;Null&amp;gt; forest
&amp;lt;Null&amp;gt; &amp;lt;Null&amp;gt;
park   forest&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 02:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1360711#M76363</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2023-12-14T02:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom conditional symbology based on multiple categorical columns</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1360712#M76364</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;can you please help when you have the time? cheers&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 02:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1360712#M76364</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2023-12-14T02:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom conditional symbology based on multiple categorical columns</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1360862#M76375</link>
      <description>&lt;P&gt;Just a reminder that what the expression returns will not be the exact color, but rather a string that defines a category. You can put the hex code in if you want, but for all the difference it will make to the actual &lt;EM&gt;symbol&lt;/EM&gt; you may as well put "A" and "B".&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var p = !IsEmpty($feature.park)
var f = !IsEmpty($feature.forest)

// case 1

return When(
  p &amp;amp;&amp;amp; f, 'light pink', // both present
  p || f, 'light blue', // one present
  ''
)

// case 2

return When(
  !p &amp;amp;&amp;amp; !f, 'light blue', // both NULL
  p || f, 'light pink', // either present
  ''
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 14 Dec 2023 13:55:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1360862#M76375</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2023-12-14T13:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom conditional symbology based on multiple categorical columns</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1361016#M76401</link>
      <description>&lt;P&gt;Thank you so much for the quick response &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;Happy Holidays!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 18:11:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-conditional-symbology-based-on-multiple/m-p/1361016#M76401</guid>
      <dc:creator>Ed_</dc:creator>
      <dc:date>2023-12-14T18:11:47Z</dc:date>
    </item>
  </channel>
</rss>

