Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Summary Fields from two tables in same sub-summary

Featured Replies

I have tried to find the answer to this and it appears to be answered in many different places, yet it doesn't work for me. I thought I'd try this:

I have two tables- Table A: Includes items completed (fields include item, date, employee who completed) and Table B: Hours worked by each employee (Fields include, hours, date, employee). Always, employees have multiple records per date in table A. Occasionally, employees have multiple records in Table B per date.

I need to create a summary report that will compute # of items completed per hour worked, break field: Date. Is this possible? How?

In the Hours table, can an employee have more than one record for the same date (e.g. 3 hours AM, 5 hours PM)?

  • Author

In the Hours table, can an employee have more than one record for the same date (e.g. 3 hours AM, 5 hours PM)?

Yes, occasionally they do.

OK, so assuming you have a relationship:

Hours::EmployeeID = Items::EmployeeID

AND

Hours::Date = Items::Date

You can define these fields in the Hours table:

sTotalHours - Summary (Total of Hours)

cItemsPerHour - Calculation =

Count ( Items::ItemID ) / GetSummary ( sTotalHours ; Date )

This should work (I think...), once you sort the records (in the Hours table) by EmployeeID and by Date.

  • Author

OK, so assuming you have a relationship:

Hours::EmployeeID = Items::EmployeeID

AND

Hours::Date = Items::Date

You can define these fields in the Hours table:

sTotalHours - Summary (Total of Hours)

cItemsPerHour - Calculation =

Count ( Items::ItemID ) / GetSummary ( sTotalHours ; Date )

This should work (I think...), once you sort the records (in the Hours table) by EmployeeID and by Date.

Woo Hoo! It works. Thank you very much.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.