<?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 Inventory counter in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/inventory-counter/m-p/1538542#M10280</link>
    <description>&lt;P&gt;Howdy! I am trying to create a series of inventory counters in ArcGIS Dashboards on ArcGIS for Enterprise 10.9.1.&amp;nbsp; The inventory is of refuse carts of three types recycle, trash and yard waste, each having up to three sizes (35, 45, and 95 gallons).&amp;nbsp; I was considering starting with a supply of carts, a number, then subtract from it each time a cart of that type and size is pulled from inventory and the delivery is completed.&amp;nbsp; For example, I have 100 95 gallon recycle carts (R95).&amp;nbsp; I pull three from inventory and deliver them.&amp;nbsp; I would like a counter that shows 97 R95 carts remain.&amp;nbsp; Each time I pull a R95 cart(s) from inventory, the count decreases.&amp;nbsp; We use Survey123 Connect to record and manage the various cart transactions.&amp;nbsp; I have a Delivery Complete field (yes, no) in the Survey form.&amp;nbsp; My thought process was to use Arcade, sum the number records for Delivery Complete (=Yes), filtered by cart type and size, and subtract that count from the starting inventory value for that cart type and size.&amp;nbsp; As the Delivery Complete value increases, the remaining cart count decreases.&amp;nbsp; Does this approach make sense?&amp;nbsp; If yes, I am struggling with coding the idea in Arcade.&amp;nbsp; Or is there another way to achieve a dynamic inventory count?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2024 20:12:36 GMT</pubDate>
    <dc:creator>JayHodny</dc:creator>
    <dc:date>2024-09-13T20:12:36Z</dc:date>
    <item>
      <title>Inventory counter</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/inventory-counter/m-p/1538542#M10280</link>
      <description>&lt;P&gt;Howdy! I am trying to create a series of inventory counters in ArcGIS Dashboards on ArcGIS for Enterprise 10.9.1.&amp;nbsp; The inventory is of refuse carts of three types recycle, trash and yard waste, each having up to three sizes (35, 45, and 95 gallons).&amp;nbsp; I was considering starting with a supply of carts, a number, then subtract from it each time a cart of that type and size is pulled from inventory and the delivery is completed.&amp;nbsp; For example, I have 100 95 gallon recycle carts (R95).&amp;nbsp; I pull three from inventory and deliver them.&amp;nbsp; I would like a counter that shows 97 R95 carts remain.&amp;nbsp; Each time I pull a R95 cart(s) from inventory, the count decreases.&amp;nbsp; We use Survey123 Connect to record and manage the various cart transactions.&amp;nbsp; I have a Delivery Complete field (yes, no) in the Survey form.&amp;nbsp; My thought process was to use Arcade, sum the number records for Delivery Complete (=Yes), filtered by cart type and size, and subtract that count from the starting inventory value for that cart type and size.&amp;nbsp; As the Delivery Complete value increases, the remaining cart count decreases.&amp;nbsp; Does this approach make sense?&amp;nbsp; If yes, I am struggling with coding the idea in Arcade.&amp;nbsp; Or is there another way to achieve a dynamic inventory count?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 20:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/inventory-counter/m-p/1538542#M10280</guid>
      <dc:creator>JayHodny</dc:creator>
      <dc:date>2024-09-13T20:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory counter</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/inventory-counter/m-p/1538963#M10288</link>
      <description>&lt;P&gt;I think I have this figured out.&amp;nbsp; In this example, I have a starting inventory of 188 95 gallon recycle carts. I pulled seven carts from inventory and the result is 181 remaining.&amp;nbsp; The Indicator element is filtering the cart type, cart size and cart transaction where carts are pulled from inventory and delivered to residents.&lt;/P&gt;&lt;P&gt;var difference = 188 - $datapoint["count"]&lt;/P&gt;&lt;P&gt;return {&lt;BR /&gt;middleText: difference&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 15:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/inventory-counter/m-p/1538963#M10288</guid>
      <dc:creator>JayHodny</dc:creator>
      <dc:date>2024-09-16T15:28:43Z</dc:date>
    </item>
  </channel>
</rss>

