<?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 Create time worked calculations from Workforce for display in Dashboard in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/create-time-worked-calculations-from-workforce-for/m-p/1089944#M41778</link>
    <description>&lt;P&gt;I am trying to create a solution for a colleague, which based on the availability and integration of Workforce, seems like a simple task; however it's proving somewhat elusive.&amp;nbsp; I've been asked to set up Workforce for our Volunteer Coordinator to track volunteers' availability, location and hours worked.&amp;nbsp; &amp;nbsp;One of the primary requirements is to produce at least a view of hours worked for each volunteer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure that a dashboard is the best way to do this.&amp;nbsp; I have been trying to beat a dashboard (v2) into submission; using a list display filtered for assignments in the last month (for now, would ideally prefer to set a date range) and then trying to write some Arcade that would at least provide a readout of each volunteer and their hours worked.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;The complications seem to be:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The time stamps are stored in the Assignments table, and related back to the Workers, not directly available in the Assignments table.&amp;nbsp; The result ideally would be a displayed table/grid of workers and their hours worked for some given time period/range.&amp;nbsp; The existence of only $datapoint globals in the Arcade editor for Dashboard modules suggests that maybe other tables aren't available to Arcade here?&lt;/LI&gt;&lt;LI&gt;Getting the expression to read all of the features in multiple columns (Can't figure out which modules Feature Sets are actually available in)&lt;/LI&gt;&lt;LI&gt;Constructing a strategy to arrive at the desired result&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Other things I've considered&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Creating fields using Arcade calculations that would store the calculation of hours worked for whatever time period, however this kind of dynamic solution wouldn't allow historical data to be retrieved / calculated.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Creating a new table to hold workers, their assignments and time worked... inserting a record upon assignment completion.&amp;nbsp; Just thought of this, haven't looked into its feasibility.&amp;nbsp; Not sure how this would work if an assignment is re-opened or edited unless more advanced functions are implemented.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I have accepted filtering assignments by date completed (say, "Last Month") as a way to define the time period.&amp;nbsp; Setting the date range manually would be more flexible, or the option to do either would be even better; but the predefined date filters will probably be OK for now.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What would be your solution for understanding/displaying cumulative hours per worker across some time period?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Aug 2021 17:05:32 GMT</pubDate>
    <dc:creator>KennethLohr</dc:creator>
    <dc:date>2021-08-18T17:05:32Z</dc:date>
    <item>
      <title>Create time worked calculations from Workforce for display in Dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-time-worked-calculations-from-workforce-for/m-p/1089944#M41778</link>
      <description>&lt;P&gt;I am trying to create a solution for a colleague, which based on the availability and integration of Workforce, seems like a simple task; however it's proving somewhat elusive.&amp;nbsp; I've been asked to set up Workforce for our Volunteer Coordinator to track volunteers' availability, location and hours worked.&amp;nbsp; &amp;nbsp;One of the primary requirements is to produce at least a view of hours worked for each volunteer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure that a dashboard is the best way to do this.&amp;nbsp; I have been trying to beat a dashboard (v2) into submission; using a list display filtered for assignments in the last month (for now, would ideally prefer to set a date range) and then trying to write some Arcade that would at least provide a readout of each volunteer and their hours worked.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;The complications seem to be:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The time stamps are stored in the Assignments table, and related back to the Workers, not directly available in the Assignments table.&amp;nbsp; The result ideally would be a displayed table/grid of workers and their hours worked for some given time period/range.&amp;nbsp; The existence of only $datapoint globals in the Arcade editor for Dashboard modules suggests that maybe other tables aren't available to Arcade here?&lt;/LI&gt;&lt;LI&gt;Getting the expression to read all of the features in multiple columns (Can't figure out which modules Feature Sets are actually available in)&lt;/LI&gt;&lt;LI&gt;Constructing a strategy to arrive at the desired result&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Other things I've considered&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Creating fields using Arcade calculations that would store the calculation of hours worked for whatever time period, however this kind of dynamic solution wouldn't allow historical data to be retrieved / calculated.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Creating a new table to hold workers, their assignments and time worked... inserting a record upon assignment completion.&amp;nbsp; Just thought of this, haven't looked into its feasibility.&amp;nbsp; Not sure how this would work if an assignment is re-opened or edited unless more advanced functions are implemented.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I have accepted filtering assignments by date completed (say, "Last Month") as a way to define the time period.&amp;nbsp; Setting the date range manually would be more flexible, or the option to do either would be even better; but the predefined date filters will probably be OK for now.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What would be your solution for understanding/displaying cumulative hours per worker across some time period?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 17:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-time-worked-calculations-from-workforce-for/m-p/1089944#M41778</guid>
      <dc:creator>KennethLohr</dc:creator>
      <dc:date>2021-08-18T17:05:32Z</dc:date>
    </item>
  </channel>
</rss>

