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

Recommended Posts

Posted

Summary fields are local to their defined table. Use a calculation field of Sum(relationship::numberfield) to get a total of related numberfields.

Posted

OK, bear with me please, So I have a calculation field in a table titled fillings. This field is the Sum(relationship::numberfield). After I create this field how do I link it to the other table titled Pies. What I mean is, do I create another calculation field in the Pies table? Or is it just a number field with no calculations on it? Then I create an = relationship in the relationship tab? I'm not totally new to relationships but this one is different than any of the others I've done. For one thing, I need the field in the Pies table to be a global. So I shouldn't have to create a join file, right?

Any help you can give is much appreciated.

Posted

I think I would need to see your file and have you elaborate on what you're trying to accomplish.

Posted

Thats just it I haven't started yet. I was just planning on what I need to do before I start. Ultimately I need to now how do I get a number thats in a summary (average) field into another table? The other thing is, in the other table this number has to be a global. I guess I could always copy and paste, but I'm sure there is a more elegant way of doing it.

Thanks.

Posted

You need a couple of Cartesian relationships. Average(Info field) only applies to the current record's Info field. Using a Cartesian self-join, you can make an unstored calculation of Average(rel::Info field) give the result based on all records in the table. Similarly, you can use a Cartesian join between the two main tables and an unstored calc of rel::Average Field to pull the result to the other table. If you only need it for display purposes, then you don't need the calc and can simply put the related Average Field on your second table's layout.

See attached for changes.

Example.zip

Posted

Thank you so so much. I was pulling my hair out with this. I have never used a Cartesian relationship before. By the way, is there a way to put a round function into the Average Field calculation? That way I don't have decimals. Thanks again.

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