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.

Average of Hours over Days used

Featured Replies

  • Newbies

Hi Everyone,

I am trying to make a calculation for our service database what I'm trying to do is as follows.

date machine setup 1/8/09

date machine in for service 10/8/09

= 10 days

machine was used for 16 hours, 16 divided by 10

= 1.6 hours per day

so how I'm trying to do it is as follows.

i have 3 fields

One

Used hours calc field: Hours Out - machine hours = x

used days calc field: Date out - Setup date = x

Daily Average field: ( "maintenance: 1: Average Hours" ; "maintenance: 1: Average Days" )

But it is returning -2990000 i have obviously done something really dumb, but i just don't get it.

Can anyone help?:D??

Check that the "Hours Out" and "Machine Hours" fields are number fields, and the "Used Hours" cal is set to return a number.

Check that the "Date Out" and "Setup Date" fields are date fields, and the "Used Days" calc is set to return a number.

You haven't explained what the "Daily Average field is or where the

fields for this calculation come from.

Finally, check that all the fields have valid data in them. Without valid data the calculation fields will never return the expected results.

  • Author
  • Newbies

Yep that got it. forgot to change them to dates and numbers. thanks heaps for that!

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.