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.

Needing Assistance with Count Calculations

Featured Replies

First I would like to point out that I am new to Filemaker, and pretty new to Databases period, so take it easy on me. But I have a client that uses Filemaker and wants Database changes, so I have to figure it out.

What I need to do is have a record that has several totals. These totals need to read fields to see if they say things like "Yes" or "No", and I need the totals of Yes and No. There are also fields that are dropdowns with 4 or so choices, and I need total counts of each choice for all records.

So my question is, how do I do this? I tried Count( Child_Active ) = "No" but that wasn't even close I guess.

Any help would be greatly appreciated!

  • Author

Anyone at all? I could really use some help with this :P What I have now done is:

Made a calculation field that does

=If(Child_Active="Yes",1,0)

Then I made a summary field corresponding with the above field that does a count.

But it seems to just be totaling the number of fields, not how many say Yes

Edited by Guest

Try Sum instead of count

hth

Phil

ps You will find the syntax for the Sum function in your help files

Edited by Guest

  • Author

I got this working with an If Statement:

If(Child_Active ="Yes" ,1 ,0)

And then a summary field showing the total.

My question is, for example, there are times when I have a dropdown with 4 choices, and an option for the user to "edit" and add in their own. So, how would I do an "Other" count, IE, counts everything besides those 4 choices in the dropdown?

Try the Case function which will allow you to have as many conditions and results as you might need along with a default result that might be used for your 'other' entries

Phil

  • Author

That worked great, thanks 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.