Jump 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.

Featured Replies

I'm stumped. I need a calculation that will return the quartile rank for a record within a set. I was able to easily do this in Excel, but not so sure how to do this in FileMaker, or if it is even possible to do so. Any tips would be greatly appreciated!

 

For example: I have 14 records. I need to know in which quartile they ranked in based on the amount of their contributions. 

If you sort the records by contribution, you can set the quartile for each record with the calculation:

Ceiling ( Get ( RecordNumber ) / Get ( FoundCount ) * 4 )

 

If you use this in a calculation, be sure to set the field Options > Storage Options to 'do not store calculation results'.

Nice, Jeremy! :)

Kims,

What do you wish to do in case of tie?  For instance, two identical amounts can actually appear in different quartiles - the first being in section 3 (for example) and the next duplicate in section 4.  Sorting, of course, sorts by Amount but then by order of creation.  If you wish ties to hold the same quartile number, it might get more complicated.

  • 2 weeks later...
  • Author

Thanks for the suggestions. I got that to work, but what if I need to figure out quartiles for multiple fields? So I have the quartile rank based on contribution. Then I need another quartile rank based on account balance. Then another quartile rank based on number of people. 

1 hour ago, kims said:

Thanks for the suggestions. I got that to work, but what if I need to figure out quartiles for multiple fields? So I have the quartile rank based on contribution. Then I need another quartile rank based on account balance. Then another quartile rank based on number of people. 

Then use stored number fields instead of calculation fields, and set each quartile field in a script that does separate sorts before setting each quartile field. A script also potentially makes it easier to handle ties, to address LaRetta's point.

Edited by jbante

Create an account or sign in to comment

Important Information

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

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.