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.

Sorting and reporting by Frequency

Featured Replies

  • Newbies

Hi All,

This is my second post. This forum has proven an invaluable resource to the newbie Rex. Thanks to all that manage it and post.

I am trying sort and create a report, records by the frequency of values descending from the most to the least occurances in a given field.

Explanation:

I have 70 records that have 20 fields describing them. I would like to sort the 70 records by one field according to the frequency that the values occur in the records. Much like the alphabetical descending sorting, but by frequency of the value occurance. I would like this to appear in a list.

Example:

1. Bannana----------------->1. Kiwi

2. Apple------------------->2. Kiwi

3. Apple-----Sort----------->3. Kiwi

4. Orange----Kiwi is first----->4. Kiwi

5. Orange ------------------>5. Orange

6. Orange-----It is the most--->6. Orange

7. Kiwi--------frequent value-->7. Orange

8. Kiwi----------------------->8. Apple

9. Kiwi----------------------->9. Apple

10. Kiwi---------------------->10. Bannana

I hope the explanation is not too confusing. Any thoughts would be appreciated.

Regards,

Rex

Start by making a self relationship, i.e. a relationship to itself usinf the field fruit as the key field on both sides of the relatioship.

Add a calculated number field Count = Count (Self::Fruit).

Sort on this field (Count) in desending order.

  • Author
  • Newbies

Thanks for the repsonse Ralph. I have tried thism but the count only returns one because each record has only one fruit. How can I have the count look at all 10 records and return 4 for Kiwi?

Take a look at the sample file attached.

  • Author
  • Newbies

I go it Ralph! I set the count to look at the new self-relating table. This is to ******* simple.

Thanks a lot,

Rex

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.