Jump 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.

Summary Fields and Calculation Fields

Featured Replies

  • Newbies

Background:

I have a survey database for our company. It surveys employees about their training needs. We ask employees to rank how often they use a particular software and how important training would be.

I have created summary fields that give me the Averages of importance.

Now I want to display the data in a report. I have a sub-summary section when sorted by Training Program name that displays the Avg of Importance for each training program.

The problem:

I need a field that is calculated based on the Importance average Summary Field. If the average is between 4 and 6 display "Important." If the Average is between 6 and 10 display "Very important."

Case and If statements do not seem to work because when you look at the report I always get "Important."

I believe the problem is that my calculation field is not a summary field but you cannot write a custom summary field.

So is there a way to use a calculation in a sub summary?

Thanks,

Todd

Edited by Guest

You need to use the GetSummary() function in order to reference a sub-summary in a calculation. For example:

Let (

averageByObject = GetSummary ( sAverage ; ObjectID )

;

Case (

averageByObject > 6 ; "Very Important" ;

averageByObject > 4 ; "Important" ;

"Not Important" )

)

Make sure the breakField parameter is the same field used to define the sub-summary part on the layout.

  • Author
  • Newbies

How the heck did I miss that one.

Works great!

Thanks

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.