Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Summary Fields from two tables in same sub-summary


This topic is 4962 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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.

Posted

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.

This topic is 4962 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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