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.

Calculation question.

Featured Replies

I have a problem I hope someone can help me solve. I have a table that I log the odometer miles of my motorcycle into every time I have a service or issue with the bike. I would like to create a report that shows the average miles in between issues, but I'm not sure how to go about it.

Any ideas?

I think you can just compute this by dividing the total miles travelled by the number of issues. Depending on your structure, this could be done using the average () function

If you have a line items file for issuesm then: Average ( Issues::OdometerPosition)

To get the miles difference between records, you can try a calculation with:

Miles - GetNthRecord ( Miles ; Get ( RecordNumber ) -1 )

Then create another calc field or summary field that averages the first calc.

This is pending the premise that your records are created with the miles always increasing as well as displaying all the records. If not, then you can use a self join to get around it.

  • Author

Thanks,

That worked.

Darron

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.