Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Related Calculation Field in subsummary report

Featured Replies

I have created a WIP report which lists and sorts jobs in progress based on their scheduled installation month.

 

The report is sorted by month and shows total values for each project.

 

I have also included a related field in the report - the hours allowed for each job (which comes from a related table - costed time in estimates).

 

I cant work out how to subtotal the costed or allowed time for the jobs when the report sorts by month.

 

The value in the total field just seems to be the last value in the list for that month.

 

The calculation at present is:

 

Sum (Project_ESTIMATE::TotalItemCostHours)

 

is it possible to have a calculation field (or a summary field for that matter) displaying totals for the sum of values in a found set from a related table?

 

I hope this makes sense!  Any suggestions would be much appreciated. I am really stuck on this one.

 

A sample of how the report is printing is also attached in PDF format.

 

WIP report showing totals.pdf

Solved by emncwundy

Go to solution

I am missing a clearer description of your tables and their relationships. I am guessing that you need another summary field in the Projects (or is it Jobs?) table, to total up the calculation field that sums the related items.

  • Author

Each estimate can have one or more items costed. They are related by _pkEstID.

 

Once an estimate is approved a project number is created. They are also related by the _pkEstID.  So the project number then accesses the total hours for Items costed for that estimate which is Project_ESTIMATE::c.TotalItemCostedHours.

 

I tried setting up a summary field in Estimates total the hours for the items costed. I then created a summary field in the Projects database to try to pull this info through via a calculation using the get summary function;

 

GetSummary ( Project_ESTIMATE::s.TotalItemCostedHours ; InstallMonth )

 

but on the report the field is blank, so i am not sure if its doing anything!  I also checked to see that the sort on the report was correct.

  • Author
  • Solution

I just realised what you meant about creating a summary field in projects. Using my calculation field in projects,

 

Sum(Project_ESTIMATE::c.TotalItemCostedHours)

 

I then created a summary field based on this field.  So simple. Can't believe it took me this long to work out what you meant! Anyway, thank you for your help!  It's now working. Very happy camper.  Can't believe how excited i get when i can make some thing in filemaker work.....

Can't believe how excited i get when i can make some thing in filemaker work.....

 

LOL, you're not the only one...

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.