<?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: Arcade expression for area ranges (max and min) with Null values in labels in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-expression-for-area-ranges-max-and-min-with/m-p/1003233#M952</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/248339"&gt;@DianaWilson1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;See my answer shared in your other post here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-for-area-ranges-max-and-min-with-null-values/m-p/1003193" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-for-area-ranges-max-and-min-with-null-values/m-p/1003193&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Nov 2020 22:48:31 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-11-19T22:48:31Z</dc:date>
    <item>
      <title>Arcade expression for area ranges (max and min) with Null values in labels</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-expression-for-area-ranges-max-and-min-with/m-p/1003187#M951</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working in a arcade expression for label the size range for each parcel with multiple buildings with different size. I have 4 fields: "Area1", &amp;nbsp;&lt;SPAN&gt;"Area2",&amp;nbsp;&amp;nbsp;"Area3", and "Area4". There are null values in the within the fields. I wrote those expressions, but they do not work. could you please review it and let me know how will be the right expression. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If&lt;/SPAN&gt;&lt;SPAN&gt;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t;/SPAN&gt; &lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;.AREA3&lt;/SPAN&gt;&lt;SPAN&gt;)}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;else&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;SPAN&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;.AREA4&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt; &lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;.AREA4&lt;/SPAN&gt;&lt;SPAN&gt;)}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The other expression is:&lt;/P&gt;&lt;P&gt;Min($feature.AREA1,$feature.AREA2,$feature.AREA3,$feature.AREA4)+"-"+Max($feature.AREA1,$feature.AREA2,$feature.AREA3,$feature.AREA4)&lt;/P&gt;&lt;P&gt;With the second expression, as an example I get expression like 0-1050. but I do not want to get the "0", just because there is a null value in the "Area1"&lt;/P&gt;&lt;P&gt;Any advice? thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 21:35:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-expression-for-area-ranges-max-and-min-with/m-p/1003187#M951</guid>
      <dc:creator>DianaWilson1</dc:creator>
      <dc:date>2020-11-19T21:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade expression for area ranges (max and min) with Null values in labels</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-expression-for-area-ranges-max-and-min-with/m-p/1003233#M952</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/248339"&gt;@DianaWilson1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;See my answer shared in your other post here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-for-area-ranges-max-and-min-with-null-values/m-p/1003193" target="_blank"&gt;https://community.esri.com/t5/arcgis-pro-questions/arcade-expression-for-area-ranges-max-and-min-with-null-values/m-p/1003193&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 22:48:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/arcade-expression-for-area-ranges-max-and-min-with/m-p/1003233#M952</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-11-19T22:48:31Z</dc:date>
    </item>
  </channel>
</rss>

