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

Apologies if this posts twice - I thought it went through - but now do not see it.

Given a dataset of Donors and Payments on one flat file. So you might have:

Steve Smith - $200

Steve Smith - $150

Steve Smith - $100

We need to total the amounts for each donor.

Steve Smith - $450

Can do with a sub summary field when sorted by "Donor" and it looks good in FileMaker - but want a field that holds total so this can be exported to an Excel file that simply has one record for "donor" and total "amount".

Is there an easy calc field to total the amounts by Donor?

TIA - Dataslinger

Hello,

I have an idea that might work for you. You need to set up two tables. The first table has your donor name and a calculation field named totals.

The second table consists of donor name and amounts

Link the two tables by the donor name.

Then set up a layout that displays information from the first table with a portal with the amounts field.

Here is a template that I think does what you want. Look at the buttons as well. If you export to excel it also displays each donation in a column and in a separate column it displays the totals.

If you export as a tab delimited file it only displays the donor name and the total donation amount.

feel free to ask any other questions

js22

Calculation.fp7.zip

  • Author

Hi JS22 - this seems to be on-track and it appears to work just fine as I enter fresh data in your sample database... where I think this breaks... is importing existing data sets into it... the table with Donor and Total - has the correct total - but there are multiple instances of the Donor (name). I need one donor - matched with an accurate total amount. Still playing with it though - thanks - Dataslinger.

If you create a self join relationship keyed on the donor field, you can have a calc field of Sum (SelfJoin::Payments).

Then you can run a scipt to omit the duplicate records and export out.

Do a search in these forums for +duplicate +records and there should be lots of postes dedicated to different techniques including ones for FM5.

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.