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 6174 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

hello,

I have a portal set up in my client bank that shows invoices and their totals. one client may have several invoices so the portal displays that. I am now trying to add up how much this client has been invoiced. so in other words I am trying to get a sum of a certain field, depending on the client ID.

Am I looking for a "conditional sum calculation"?? : Not sure...

Can anyone help?

Posted

Sum( related client::invoice amount )

Posted

I don't think you need anything conditional. Set up a calculation field in the Clients table (result is Number) =

Sum ( Invoices::Certain Field )

This way, each client record sums related invoices only. Alternatively, define a summary field in the Invoices table (Total of Certain Field), and place it on a layout of Client.

  • Newbies
Posted

hi, thanks for the quick reply. these solutions however only seem to return the 1 amount of the first invoice and not a summary amount of all the invoices for one client.

I need something that tells the field to sum up all the amounts that are related by one client ID.

sorry to be repetitive, but just can't seem to wrap my head around this...

Posted (edited)

The Sum() calculation field should be in the client table. Also, make sure the field in the Sum() calc is the same one you're using in your portal, i.e. it comes from the same relationship.

invoicing.zip

Edited by Guest
Attached example file
  • Newbies
Posted

ah, got it! you are right it was about placing the calculation field on the right layout! thanks so much!! :

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