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

Recommended Posts

Posted

Hi there forum

I'm building a grant tracking database for a non-profit organisation and have a field called "allocation balance" that looks at the "amount" and minuses line item expenses in the Expenditure Sub File (portal).

Calculation "Total amount - Sum ( Expenditure Sub File::Amount )"

I may very well have to attach a sample of the database.

Where the "amount" is $275.15, I allocate this full amount in the Expenditure Sub File and the "allocation balance" reads -$0.00 instead of just $0.00.

Any thoughts and contributions welcomed.

Kind regards

Tim

Posted

Hi Comment

It's a calculated field that takes what value is in the "amount" field, minuses values in the sub-file (bit like an invoice systems line items).

That way it shows how much money has not been allocated.

Thanks for your reply.

Tim

Posted

Well, then the total amount does not EXACTLY equal the sum of the expenses, and the "-$0.00" you see indicates a (very small) negative number rounded to zero for display purposes.

I don't think you need to worry about this, but if it bothers you, change the calculation to =

Round ( Total amount - Sum ( Expenditure Sub File::Amount ) ; 2 )

Are either the total or the expense calculated?

Posted

Fantastic, your a genius, comment!

Works perfectly and addresses other parts of my database I could you a similar calculation.

Many thanks, comment

Tim

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