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

Newbie question on calculating

Featured Replies

  • Newbies

Hello,

I'm new to FMP, and would like guidance on the following:

I am working with a database created by someone else, that contains a list of patient names.

In browse mode there is a field called "Team," and in setting the value for this field, it has been set up such that when you click on the box, it has two options: "Team A" and "Team B" to which you can set the value. This allows you to assign a team to each patient.

I would like to create another field, say "Team A total" in layout mode, that would sum the total number of "Team A" values for all of the patients in the "Team" field, and then another field "Team B total" to do the same for all of the "Team B" patients in the "Team" field. This way we can keep track of the total number of patients assigned to each team.

After spending a few hours on this (remember I am brand new to FMP) I can't figure out how to make it work. Any help would be greatly appreciated.

You will need two calcualtion fields

Case( Team = "Team A"; 1)

Case( Team = "Team B"; 1)

Then two summary fields that total each of the two fields above.

  • Author
  • Newbies

Thanks! It works perfectly now.

Create an account or sign in to comment

Important Information

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

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.