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.

Calculating Quarterly Data from Monthly data

Featured Replies

I need to create a field that is a calculation. I want to determine quarterly data from monthly sales data.

Current table has--

rec id Date MonthlySales

1 1/1/2011 20,000

2 2/1/2011 15,000

3 3/1/2011 8,000

4 4/1/2011 10,000

5 5/1/2011 7,000

6 6/1/2011 15,000

7 7/1/2011 8,000

Let say I want Q1 Sales for 2011--I want to create a calculation field that calculates 2011 Q1 results.

Example:

So, some how I need to look at records 1/1/2011, 2/1/2011, and 3/1/2011 and average those amounts.

ie. (20,000 + 15,000 + 8,000)/3 Therefore the result should be 14333.33

I figure I can do an avg, but how do I get records from 1/1/2011..3/31/2011? Also what if there is not data{maybe an if statement}?

Thanks for you help. As a newbee it is much appreciated :grad:

  • Author

hmm, does that mean it has to be used in a report? I was hoping to have it show up in next to a portal on body of a form. Any other ideas?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.