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 trying to do a conditonal sum which i then want to use in further calculations. I want to get a value of "donations" in a given year. Its probably straight forward but....

Total = Sum of "donations" when "donation year"= "target year"

What do i use instead of when?

Thanks

Simon

Hi Simon,

you can either use a selfjoin or a summary. I've included a small sample file showing both. The selfjoin uses a relationship based on gYear<=>DonationYear. gYear is a global where you can enter the year you wish to see the total of, which will then be calculated in YearTotal.

The summary approach is done with the field Total. Note that your records will have to be sorted for the correct number to appear and that you need to be in Preview. If you need the value of the summary field for other calculations, use the GetSummary() function in your calculations. Your records will still need to be sorted though.

HTH,

Peter

  • Author

Peter,

Thank you!

Could you post your example file again as i'm getting a "parse error".

Simon

Hm, seems I need to zip the file first (although .fp7 is listed as a valid file type :D )

Here goes,

Peter

test.zip

  • Author

Peter,

Thank you - opened fine and solved the problem.

cheers

Simon

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.