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

'Sum' function using portal


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

Recommended Posts

Posted

Hi, please forgive if the answer is obvious as I am new to Filemaker. I have two tables - Invoice and InvoiceItems. The invoice items are displayed in the Invoice using a portal. When I use the 'sum' function to give an invoice total, a blank is returned. What's up?

Posted

What field have you chosen to make the sum from, it should be a line total field given the syntax:

relationname::fieldname

...which means that if you in each line sell more than one item, could it be a calculation-field containing this:

itemCount * ItemPrice

...where the itemPrice very often is a historic value looked up from a different table with itemID as key.

--sd

Posted

Thank you Soren for your reply. You are absolutely right. The sum is a line total of numberOfItems*Price. The Price is a lookup from the product table. Is this the reason that I am drawing a blank? If so what should I do? Regards.

Posted

Well it seems like some of the relations you're using are belonging to another TOG, what if you upload an empty clone of your stuff so I can inspect it?? You can also send it to me privately if your wish??

--sd

Posted

Set your total to be an unstored calculation, not a number with an auto-entered calculation. Changing related values will not update a field with an auto-entered calculation.

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