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

Recommended Posts

Posted

hi again. may someone help me translate the following calculation o have from excel.

=MEDIAN(D2:D51,G2:G51)

i am trying to get the median. i get it in excel but not in filemaker. d2:51 are the values on the D field and g2:g51 on another. thanks

Posted

There is not a "natural" function for calculating the median with FM.

Here are some threads pertaining to it. Also I know that you dont have FM Avdanced, but it may be worth the investment to use Custom Functions. some of the methods here make use of custom functions.

Median thread 1

Median Thread 2

Median CF

Posted (edited)

You don't need a custom function to calculate the median - provided your values are sorted. If they're not, then you DO need a custom function to sort them.

I think the first step here would be to normalize the database, so that the values are in the same field for all records. After that - it depends on whether we want the median of the found set, or of related records, or of all records.

Edited by Guest
Posted

dear folks,

i have been trying for days finding the median but i am still at the dark. i am enclosing the file i have now in case someone would like to help me find the median of the formeur & noFfr (last two fields on the database) thanks.

:

median.zip

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