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

Recommended Posts

Posted

Hi,

Simple request from a noobie (I hope).

I have a layout which lists Invoices and I'd like to be able to get a calculation which gives me a total value of invoices sent.

So I have a Field called 'Total' and a Radio Button Set called 'Status' which lists values 'Sent, Not Sent, Paid'. I would like to create a summary field which calculates the 'Total' of 'Sent' invoices.

Thanks.

Posted

You could create a calc field that equals the total if the status field equals "Sent". Then, summarize that field.

Posted

Thanks, I was thinking something a bit more like this:

If ( Status = "Sent"; Sum (Total))

But this only gives you the sum of the last Total field in the list (if the status is sent.

Do you know if this approach is even possible? If I can keep it this simple that would be preferable.

Posted

Almost. You need a self join if that is how you want to do it. You can use a cartesian join. (X) instead of =.

You need a calc that states ( Status = "Sent" ) or if multiple entries use PatternCount and then you can create a new calc that does the sum. Sum (SelfJoin::cSentFlag)

OR

As Barbara said, you can just create the calc field and then create a summary field that totals that calc field. No additional relationship needed.

Posted

Don't confuse the calc functions Sum, Count, etc. with Summary fields. Summaries work across the found set of records without a relationship.

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