I’m in the middle of a huge problem, I think. Not sure how to make this work, Ill explain below:
Data Sheet 1: Employee Timesheet
Employee adds Weekly Timesheet, with Location and Hours Worked in that Location
Data Sheet 2: Projects (Locations)
Show Data from the Projects & Locations (which is used in the above Data Sheet)
Data Sheet 3: Weekly Timesheet View/Totals
Shows Data from all employess e.g Hours Worked and Locations
I’m get that I add up all the Hours worked and Filter it by Project to show Total hours in the Projects Layout. but how can I show in the Projects Layout Total hours per Employee per Project…
In the Timesheets table, add a template column joining the user ID and project ID together.
Create a relation from that column to itself, return multiple matches.
Create a rollup on top of that relation, returning the sum of hours worked (this is the total number of hours worked for each project for each employee).
Create a single value column, returning the first Timesheet ID from the relation.
In the Projects table, create a multi relation to the Timesheet table, matching by the project ID.
Display a collection using the relation above, filter by rowID equals to first Timesheet ID from the relation, showing the total hours from the rollup column.