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.

Looping through GetSummary Values

Featured Replies

I have a nice report that shows revenue broken out by revenue code:

Meals $1,289.00

TV $42.00

Internet $80.00

etc.

The totals are calculated using a Summary field which adds up all the revenue for each revenue code.

What I want to do is grab the total for each of the different lines and move it into a variable. I am using the GetSummary(Revenue;RevenueCode) calculation.

It works fine for the first line but it does not appear possible to go to the next line to extract the $42.00 amount. I just keep on getting the first value.

I suspect that even though I do not have the details showing, just the summaries, that behind the scenes FM is still going from detail record to detail record.

Is there a way to isolate the 3 summarized values?

It works fine for the first line but it does not appear possible to go to the next line to extract the $42.00 amount.

You have to jump to the first record in the "TV" group. This can be done by defining another summary field as Count of [any field that cannot be empty]. Then go to record number =

Get (RecordNumber) + GetSummary ( sCount ; RevenueCode )

  • Author

That's got it. Thanks man!

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.