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.

Don't want empty fields in calculation!

Featured Replies

I have a database for schools where we track GPA for each semester the kid has been in school. I want to tally (for a Risk Factor field) if the youth has less than a 2.0 then that would indicate ONE point and so on - for 8 semesters. Here is my calculation:

Sum

(Case ( s_0405DecGPA<2 ; 1 );

Case ( s_0405MayGPA<2; 1 );

Case (s_0506DecGPA<2; 1 );

Case (s_0506MayGPA<2; 1 );

Case (s_0607DecGPA<2; 1 );

Case (s_0607MayGPA<2; 1 );

Case (s_0708DecGPA<2; 1 );

Case (s_0708MayGPA<2; 1 );

)

My problem is that if a field is blank, FM thinks (of course) that that is less than two as all fields may or may not be filled in. What do I add to my calc to exclude those fields that are empty. I FEEL like this is simple.

Thanks in advance.

Sarah

Edited by Guest

Case ( not isempty(s_0405DecGPA) AND s_0405DecGPA<2 ; 1 )

  • Author

perfect! thank you!! I had tried IsEmpty - but forgot or didn't know to put "not" in front... i knew it was simple!

thanks very much

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.