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.

Specialized Count

Featured Replies

Please, I have a field that I would like to contain the count of a specific value in a specific field. IE > I have a timesheet file and I would like to count the number of timesheets there are for "Jan 2, 2004" or how many timesheets there are for "Dec 3, 2003" etc... does this make sense? cheers all!

  • Author

Exactly like using the Find function on a specific date... except I need this to be done for all dates entered within the timesheet.

  • Author

"Fraction of Total Of" Summary field seems to do something relevant, now I just have to convert the number it gives me into some sense...

  • Author

Ok, converted the number with a mathematical equation... but it relies on the database to always be sorted by a certain field. Not a big problem, I've just included the sort in every function in the database. Any better ways to do this?

As long as you don't want all the dates at the same time, but just one date ...

Set up

One as Global Number - initialised to '1'

SearchDate as Global Date - used to enter the relevant date

If Date as Calculation = (TimesheetDate = SearchDate )

Selfjoin using One::If Date

Then count( .. some field in the records ..) will give you the number of records.

Hi pmusaev,

Instead, you might consider a self-join. In Define Relationships, create a new relationship and select this same file. Join DateField (on the left) with DateField (on the right).

Create a calculation (number) with: Count(selfjoin::DateField)

Each time a timesheet is displayed, it will show how many other timesheets have the same date.

If this is just informational purposes (ie, you need a weekly report), you could instead use a Columnar/List report with grouped data. Categorize by your DateField. Create a summary which would be Count = Datefield and place the summary after the body. Be sure to sort by Date.

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.