Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I have a Personnel table and a Timesheet table, related by a Personnel UID (unique ID field). (One Personnel record to many Timesheet records.)

The Timesheet table includes a field "Approval Status" that can have 4 possible values based on a value list (New, Submitted, Approved, Needs Revision).

I'm trying to find the cleanest way to show how many related Timesheet records have a status of "Submitted" on each Personnel record.

The ultimate goal will be a "dashboard" for managers (based on Personnel table) with a portal of their direct reports (self-related table PersonnelSelf_DirectReports based on a manager field) that displays how many records each direct report currently has waiting for approval. (The Timesheet record is currently "Submitted" and needs the manager to review and change to "Approved".)

I'll also want to give employees a dashboard portal showing that they have Timesheet records that the manager marked as "Needs Revision", but once I figure out the above, this will logically function the same.

I tried a calculation field in Personnel with a Count function of related records, but I can only then do a straight count, not a count with a condition (aka count only where Approval Status = "Submitted".

Any suggestions would be appreciated.

Posted
18 minutes ago, Courtney said:

how many related Timesheet records have a status of "Submitted"

Try =

ValueCount ( FilterValues ( List ( Timesheet::ApprovalStatus ) ; "Submitted" ) )

 

This topic is 3193 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.