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.

Featured Replies

I am trying to get a count of unique employee ID numbers for those employees who not only work

at a specific site, but whom also have an AM work schedule. In the employees file, I have all of

their personal info as well as their expected regular schedules. So, I developed the following

CASE statement, trying to get the count (Monday AM is the field that holds each employee's Monday arrival time):


CASE (

Site = "Austin" and Monday AM > 0, Count(Employee ID),

Site = "Rochester" and Monday AM > 0, Count(Employee ID),

Site = "San Francisco" and Monday AM > 0, Count(Employee ID),

Site = "Nashville" and Monday AM > 0, Count(Employee ID),

""

)


I placed the field in the Sub-Summary field of my report where I had grouped the report by site.

All I received was a count of the first instance of the calc that made it true... so all counts are

"1". This is inaccurate. How can I make it count all instances of the statements?

TIA,

KC

You have 2 problems. One is that only Summary field will calculate in the way you are expecting in a sub-summary part, normal field will simply calculate based on a single record. Second is that the CASE statment will only evaluate ONE of those conditions.

"sCount = Count of EmployeeID" is the way to setup a summary field. This will then count the employees in whatever sub-summary you put this field in.

  • Author

Cool. Thanks, Kurt.

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.