Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6084 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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)

Posted

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.

This topic is 6084 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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