<?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: Customize the &amp;quot;Number of Features&amp;quot; Label text for a layer with clustering in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/customize-the-quot-number-of-features-quot-label/m-p/1169010#M45800</link>
    <description>&lt;P&gt;Thank you very much &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/582287"&gt;@3raan&lt;/a&gt; for the solution!&lt;/P&gt;&lt;P&gt;simpler than I thought&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 19:22:24 GMT</pubDate>
    <dc:creator>RobertoRossi</dc:creator>
    <dc:date>2022-04-28T19:22:24Z</dc:date>
    <item>
      <title>Customize the "Number of Features" Label text for a layer with clustering</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/customize-the-quot-number-of-features-quot-label/m-p/1168901#M45793</link>
      <description>&lt;P&gt;In Map Viewer I have a point layer with Clustering Enabled.&lt;/P&gt;&lt;P&gt;The legend shows a &lt;EM&gt;Number of features&lt;/EM&gt; description.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="immagine.png" style="width: 152px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40094i801CB37F3A999F75/image-size/large?v=v2&amp;amp;px=999" role="button" title="immagine.png" alt="immagine.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can I customize the "Number of features" text?&lt;/P&gt;&lt;P&gt;I supposed it should be possible from the Clustering &amp;gt; Clustering Label &amp;gt; Label Field, and then working with Arcade, but I'm not able&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertoRossi_0-1651164379802.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40096i414AED4E9E53D386/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobertoRossi_0-1651164379802.png" alt="RobertoRossi_0-1651164379802.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RobertoRossi_0-1651164777659.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40097i7023950E596B6E8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RobertoRossi_0-1651164777659.png" alt="RobertoRossi_0-1651164777659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the Arcade code I have if I chose the &amp;lt;/&amp;gt; button:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;$feature["cluster_count"];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var value = $feature["cluster_count"];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var num = Count(Text(Round(value)));&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var label = When(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;num &amp;lt; 4, Text(value, "#.#"),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;num == 4, Text(value / Pow(10, 3), "#.0k"),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;num &amp;lt;= 6, Text(value / Pow(10, 3), "#k"),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;num == 7, Text(value / Pow(10, 6), "#.0m"),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;num &amp;gt; 7, Text(value / Pow(10, 6), "#m"),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Text(value, "#,###")&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;return label;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Is there a way to obtain a customized text?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 16:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/customize-the-quot-number-of-features-quot-label/m-p/1168901#M45793</guid>
      <dc:creator>RobertoRossi</dc:creator>
      <dc:date>2022-04-28T16:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Customize the "Number of Features" Label text for a layer with clustering</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/customize-the-quot-number-of-features-quot-label/m-p/1168947#M45795</link>
      <description>&lt;P&gt;In the Cluster menu, select the "Cluster fields" button.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3raan_0-1651167655423.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40108i126E57A5A0A18DDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3raan_0-1651167655423.png" alt="3raan_0-1651167655423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, select the "&lt;SPAN&gt;Number of features&lt;/SPAN&gt;" field and rename.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3raan_2-1651167792998.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/40110iEC5F94142A4A3FF7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3raan_2-1651167792998.png" alt="3raan_2-1651167792998.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 17:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/customize-the-quot-number-of-features-quot-label/m-p/1168947#M45795</guid>
      <dc:creator>3raan</dc:creator>
      <dc:date>2022-04-28T17:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Customize the "Number of Features" Label text for a layer with clustering</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/customize-the-quot-number-of-features-quot-label/m-p/1169010#M45800</link>
      <description>&lt;P&gt;Thank you very much &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/582287"&gt;@3raan&lt;/a&gt; for the solution!&lt;/P&gt;&lt;P&gt;simpler than I thought&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 19:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/customize-the-quot-number-of-features-quot-label/m-p/1169010#M45800</guid>
      <dc:creator>RobertoRossi</dc:creator>
      <dc:date>2022-04-28T19:22:24Z</dc:date>
    </item>
  </channel>
</rss>

