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.

Percentages in a Sub Summary Part

Featured Replies

Hello Team,

I am trying to generate percentages based on two separate fields in what I thought would require a simple calculation. I have defined the fields that will present the percentages in this fashion;

med_1185214613-AttendanceDefinitions.gif

This seems to be correct, however when I look at the report generated I get the following;

thumb_1185214621-Report.gif

Note that the percentages stay the same for both schools and especially that they are both wrong.

I assume this is happening because the fields are in a sub summary part. However I'm not seeing how else this can be done.

Any help here would be appreciated. Thanks.

- Sez

AttendanceDefinitions.gif

Report.gif

Edited by Guest

1. See here:

http://www.fmforums.com/forum/showtopic.php?tid/188330/

2. It seems you could make this a lot simpler by having another sub-summary by absence code within the sub-summary by school.

  • Author

Hello Team,

This suggestion worked great. Thank you. However I have run into a problem I don't understand.

I've added a trailing grand summary in order to display the same information on a district wide basis. However while the summary fields all seemed to work and accumulate the totals, the percentage fields do not function as expected. Note the following;

med_1185303502-TotalsReport.gif

As I said the summary fields, per school, appear to work and in fact calculate the totals correctly, but the percentage fields seem to be stuck on the last schools entry which in this case is Fairwood.

I'm probably missing something obvious, but I don't understand why the percentage calculations don't perform in the same manner. I'm using the following calculation to generate the percentages;

GetSummary ( April Counter SUM; ASchoolNumber) / GetSummary ( Absence Count; ASchoolNumber)

Any help here would be appreciated. Thanks.

- Sez

TotalsReport.gif

  • Author

Hello Team,

I finally figured out what the problem was with the percentages in the Trailing Grand Summary. To make a long story short I just changed the break field in the "get summary" function to the name of the field. So, I changed the percentage calculation format from this;

GetSummary ( April Counter SUM; ASchoolNumber) / GetSummary ( Absence Count; ASchoolNumber)

to this;

GetSummary ( April Counter SUM; April Counter SUM) / GetSummary ( Absence Count; Absence Count)

Once I tried it I had a "Doh!" moment. But I thought I'd add it here in case anyone else might find this helpful.

- Sez

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.