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 6203 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I need to be able to take a found set of records that have a date field and a number field. From this, I need to create from the number field a "three-week" average field of the number field. The calculation I would have to take the current date and go back three weeks to average out the number. Anyone have any ideas?

Posted

Will there be omissions in the dates, or oppsite be several records on one day?

But provided that each day is a new record could the aggregate function be made to Avarage( over a 21 cell repeating calc'field containing this:

Substitute(GetNthRecord ( Extend ( theNumber ) ; 1+Get ( RecordNumber ) -Get ( CalculationRepetitionNumber ));"?";"")

--sd

Posted

Is it for a stock exchange observations system, where a gliding average is used for sale/purchase decisions?

BTW I played a little with my suggestion, it's important that the repeating calc' is unstored, otherwise won't it adjust to the found set - a refresh issue.

--sd

Posted

Yes, the concept is very much the same. User needs to look at a record showing a current number and also an average of that number for the last weeks.

Posted

The only problem is that aggregate functions probably are to weak a measure to such a problem, the burden of records could dictate something in this direction:

http://www.fmforums.com/forum/showpost.php?post/278725/

--sd

This topic is 6203 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.