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.

Sum Field and Ignore duplicate Records with lower value

Featured Replies

I have a relationship of: Clients ---< Policies ---< Renewals

 

On the Renewals table, I have a field named "Employees" which tracks the number of employees a Client has. Renewals happen once a year for each policy. One client can have multiple policies, and as a result, multiple renewals a year.

 

I need to be able to track the total number of employees each year, but since Clients with multiple Policies will have employees registered under both policies, it results in duplicates in the Employees field.

 

For Example:

 

Client A - Policy 1 - 2015 Renewal has 50 Employees

Client A - Policy 2 - 2015 Renewal has 30 Employees

Client B - Policy 1 - 2015 Renewal has 25 Employees

Client C - Policy 1 - 2015 Renewal has 40 Employees

 

Total employees for 2015 would be 115. Basically, I need a field that sums all the records but ignores the duplicates with the lower value in the employees field.

Biiiink,

I noticed you have not got an answer on this yet on this forum. If you have not resolved this already, please post a quick sample file of your structure (with a little sample data) with the way you have your file setup now. I will be happy to examine it and suggest a solution to solve this.

Thanks!

She/he has received an answer on another forum, but not responded to that yet.

Edited by eos

  • Author

I did also post this on the Filemaker forums here : https://community.filemaker.com/message/503303

I was slammed with work over the past week and just didn't have a chance to try out the suggestion.

Also.  He ;)

Create an account or sign in to comment

Important Information

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

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.