<?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 Select multiple features and sum the selected features area AGOL in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/select-multiple-features-and-sum-the-selected/m-p/1502969#M60101</link>
    <description>&lt;P&gt;I am hoping there is some solution in a dashboard or an experience builder where an individual can select multiple features with select by rectangle or Ctrl click multiple polygons and a widget would display the sum of the Area fields. Its only one feature class they would be selecting from.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 13:18:37 GMT</pubDate>
    <dc:creator>brandonmann3</dc:creator>
    <dc:date>2024-07-09T13:18:37Z</dc:date>
    <item>
      <title>Select multiple features and sum the selected features area AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/select-multiple-features-and-sum-the-selected/m-p/1502969#M60101</link>
      <description>&lt;P&gt;I am hoping there is some solution in a dashboard or an experience builder where an individual can select multiple features with select by rectangle or Ctrl click multiple polygons and a widget would display the sum of the Area fields. Its only one feature class they would be selecting from.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 13:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/select-multiple-features-and-sum-the-selected/m-p/1502969#M60101</guid>
      <dc:creator>brandonmann3</dc:creator>
      <dc:date>2024-07-09T13:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Select multiple features and sum the selected features area AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/select-multiple-features-and-sum-the-selected/m-p/1502983#M60102</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/610578"&gt;@brandonmann3&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;for Dashboards try this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Add a Serial Chart or Indicator Widget:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add a Serial Chart or Indicator element to display the sum of the area fields.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Configure the Serial Chart/Indicator:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For a Serial Chart:&lt;UL&gt;&lt;LI&gt;Configure the data source to be the feature layer.&lt;/LI&gt;&lt;LI&gt;Set the category field (if needed) and the value field to the area field.&lt;/LI&gt;&lt;LI&gt;Use the "Sum" aggregation to display the total area.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;For an Indicator:&lt;UL&gt;&lt;LI&gt;Configure the data source to be the feature layer.&lt;/LI&gt;&lt;LI&gt;Set the "Value" to the sum of the area field using an Arcade expression.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Add Actions to the Map:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Configure an action for the map to filter the Serial Chart or Indicator based on the selection.&lt;/LI&gt;&lt;LI&gt;Go to the map settings, click on "Actions," and set up an action that triggers when features are selected. This action should filter the data in your Serial Chart or Indicator widget.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For experience builder try this :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Add a Feature Info Widget:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add a Feature Info widget or a custom widget to display the sum of the area fields.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Set Up Data Source and Expressions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Configure the data source for the Feature Info widget to use your feature layer.&lt;/LI&gt;&lt;LI&gt;Use an Arcade expression to calculate the sum of the area fields for the selected features.&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;javascript&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;var&lt;/SPAN&gt; selectedFeatures = &lt;SPAN class=""&gt;FeatureSetByPortalItem&lt;/SPAN&gt;(&lt;SPAN class=""&gt;Portal&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'YOUR_PORTAL_URL'&lt;/SPAN&gt;), &lt;SPAN class=""&gt;'YOUR_FEATURE_LAYER_ID'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;0&lt;/SPAN&gt;, [&lt;SPAN class=""&gt;'areaField'&lt;/SPAN&gt;]); &lt;SPAN class=""&gt;var&lt;/SPAN&gt; sumArea = &lt;SPAN class=""&gt;0&lt;/SPAN&gt;; &lt;SPAN class=""&gt;for&lt;/SPAN&gt; (&lt;SPAN class=""&gt;var&lt;/SPAN&gt; feature &lt;SPAN class=""&gt;in&lt;/SPAN&gt; selectedFeatures) { sumArea += feature.&lt;SPAN class=""&gt;areaField&lt;/SPAN&gt;; } &lt;SPAN class=""&gt;return&lt;/SPAN&gt; sumArea;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Configure Interactivity:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Set up an interaction trigger for the Map widget to trigger the calculation when features are selected.&lt;/LI&gt;&lt;LI&gt;Configure the Feature Info widget to display the result of the Arcade expression.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&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>Tue, 09 Jul 2024 13:46:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/select-multiple-features-and-sum-the-selected/m-p/1502983#M60102</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2024-07-09T13:46:31Z</dc:date>
    </item>
  </channel>
</rss>

