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

Total Records Calculation YTD

Featured Replies

  • Newbies

Hello fmp community!

This is my first post--have been trying to figure this calculation out. It seems like it should be very simple, but can not find a post that deals with same issue.

I have a field that calculates TOTAL RECORDS in entire db. I need another field now that calculates Total Records since Jan. 1, 2007 (YTD). I have a "Date Initiated" field to pull date from.

Can anyone give me any guidance?

Thanks!

Hi chloeno,

Welcome to the forums.

Create a simple number field (lets call it FiscYear) with calculated result that is Year ( DateofEvent ).

You can then use a global number field to on the parent side to enter in the year that you want. Create a relationship from this global field to FiscYear. Now you can just just use a sum (Child::FiscYear) and it will give you the total. You can also use summary fields.

To do this, you would use Go to related record from the parent side (using the same relationship that you created as above) and once the child records are displayed, the summary field will give the result as well.

Now you can just just use a sum (Child::FiscYear) and it will give you the total.

... a count (Child::FiscYear) B)

  • Author
  • Newbies

Hi John, thanks for the reply.

Sorry but I didn't get past the first step. (Would you mind giving me more detail? I'm very novice here!)

ok. I created a simple number field, FiscYear, with calculated results being Year ( DateInitiated ). Is that correct so far?

Then?

Indeed Daniele. I have no idea why I type Sum() Thanks for cleaning up my mess. B)

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.