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

Recommended Posts

Posted

I may be just having a mental block.

I have 5 records

Say:

Grapes 15

Pears 10

Grapes 20

Pears 5

Apples 30

I am producing a report. The report has a SUB-SUMMARY sorted by fruit type. I also have a field called fruit_count which sums the types (Grapes = 3, Pears = 2, Apples = 1)

So, my sub summary goes:

Grapes 2

Pears 2

Apples 1

Ok. here is the question. I have 5 total records. I want to divide the fruit_count by the total records (5). Can someone tell me how to do that INSIDE the SUB-SUMMARY section of the report?

Thanks,

Campbell

Posted

Assuming your fruit_count field is defined as a summary field (Count of fruit_type), define a calculation field =

GetSummary ( fruit_count ; fruit_type ) / GetSummary ( fruit_count ; fruit_count )

and place it in your sub-summary by fruit_type part, formatted to display as percentage.

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