CREATE A REPORT WITH THE SUM OF UNIQUE VALUES

I am creating a work order application, the application consists of 3 tables
- work order - hours worked - employees

The first table is work orders

1.png2.png

 

The second table is a form that employees can use to record the hours worked on the work order

3.png

What I am trying to create is another table that contains the sum of the hours worked by each employee in this specific service

That is, the hours worked table currently has the following structure

WORK ORDER NUMBERDURATIONEMPLOYEE NAME
183603:35A
183606:30C
183601:13A
183606:25D
183602:56B

 

I want to create the following table

WORK ORDER NUMBERTOTAL HOURSEMPLOYEE NAME
183604:48A
183606:30C
183606:25D
183602:56B

 

0 3 246
3 REPLIES 3

Hello there @eliasnoueira, well, there are several ways you could go around making that, my question is why would you need another table just for storing the information that is already there?

If you want to print out a report or a weekly-monthly-whathever hours report you can do that already in a google doc template using start expressions for example.

If you want to have the total hours for each user, if the "Employee name" column is made into a REF to a "Employees" table then you would have that already done for you.

And since your HOURs table doesn't include a start and end time, I'm guessing it's irrelevant, so you might as well just use a "clock in" button that allows the user to add a duration value and have it added as a new row if there were no hours clocked in before, and if there were, to just have the new hours added to the existing hours.

I want to create a table that shows the sum of all the hours worked by each employee in this service to show a summary of all the hours instead of showing the current table that contains all the registered hours

I don't want to create a PDF report, I want this summary to be shown inside the app, on the work order page

And yes, the hours contain start and end time, I did not put in this example app to simplify

I have a similar need. We are tracking raw materials needed for a work order, and then for each raw material, we track picks and returns. There could be more than one lot number for a given item. So we need to sum up the picks and returns -- and then subtract returns from picks to get "total usage" -- for each lot for each item. We have all of the data but haven't figured out how to get all of the calculations yet.

Top Labels in this Space