Skip 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.

Summary based on Status

Featured Replies

Hi,

Simple request from a noobie (I hope).

I have a layout which lists Invoices and I'd like to be able to get a calculation which gives me a total value of invoices sent.

So I have a Field called 'Total' and a Radio Button Set called 'Status' which lists values 'Sent, Not Sent, Paid'. I would like to create a summary field which calculates the 'Total' of 'Sent' invoices.

Thanks.

You could create a calc field that equals the total if the status field equals "Sent". Then, summarize that field.

  • Author

Thanks, I was thinking something a bit more like this:

If ( Status = "Sent"; Sum (Total))

But this only gives you the sum of the last Total field in the list (if the status is sent.

Do you know if this approach is even possible? If I can keep it this simple that would be preferable.

Almost. You need a self join if that is how you want to do it. You can use a cartesian join. (X) instead of =.

You need a calc that states ( Status = "Sent" ) or if multiple entries use PatternCount and then you can create a new calc that does the sum. Sum (SelfJoin::cSentFlag)

OR

As Barbara said, you can just create the calc field and then create a summary field that totals that calc field. No additional relationship needed.

  • Author

Yep, thanks both. Having tried those now Barbara's seems nice and simple!

I've just hidden the SentTotal fields as they obviously just repeat what's already in total.

Cheers.

Don't confuse the calc functions Sum, Count, etc. with Summary fields. Summaries work across the found set of records without a relationship.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.