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.

Obtaining descreet quanitites for distribution graph

Featured Replies

Hi. I want to find records from my DB which fulfill certain criteria then paste the quantities (number of records I have) of different segments which I can then import into a graphing program to graph their distribution.

For example: I find 1000 records. These are all one product but over the years, say 50 of them have cost $10, 70 cost $12, 90 cost $16, 120 cost $21 etc etc until we have 1,000. I want to obtain the numbers e.g. 50, 70, 90 by segment e.g. $0-10,$10-15,$15-20 etc etc. What is the best way of doing this?

At the moment, I can sort of do this manually. e.g. I can find the product I'm interested in, determine the range e.g. >0<10 and I have a summary field which calculates the number of records - I don't really need this in a manual set up because I can just read off the no. of records. I have also set up fields to hold the data as it is found so that I have distn_1 which holds all records which =0,distn10 which holds all records below $10 etc etc. However, I can't get a script to do this for me.

Any ideas much appreciated. Thx. Hope it's clear.

Search the forum for "Fast Summaries".

Another option is to set up the groups (i.e. ranges) as records in another table, and do the count over a relationship.

Here is another method. Kind of brute force but works with modest record sets.

VarSummary.fp7.zip

  • Author

Here is another method. Kind of brute force but works with modest record sets.

VarSummary.fp7.zip

Thanks for this - worked well.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.