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.

How to sum a field by another field?

Featured Replies

Maybe the title gets you consfused.

There are 3 fields,

1st text, name: Name

2nd Number, name: money

3rd number: name: Total money of current user

This table record a few people's income, for example, Peter 30 , tom 40, peter 50, lina 30, tom 20

I want the 3rd field show the current user total sum money, here after I finish peter's 1st input, that record should be 30, after inputing 2nd time 30, the both peter's fields should be 80. Just show in real time that how much money the same people's money field sum.

could any one let me know how to implement the "total money sum of current user" field please?

Thank you very much for your help.

I dont know how adding 30 and 30 equals 80 but I am going to assume it was a typo.

Anyway, if you have a self join relationship keyed on the name, you can use a calc that does Sum (SelfJoin::money). Personally I would use a PersonID rather than name but you get the point.

  • Author

sorry about the 30, it should be 50 on the second time.

I did it succesfully, thank you.

One question, why when I use sum in number format, and use specify cacultaed vaulue with same caculation "Sum ( SELF JOIN::MONEY )", nothing shows in sum field.

And why I change sum field to caculation format and give it same caculation "Sum ( SELF JOIN::MONEY )", it works perfectly.

what difference between these 2 ways? I thought it should give me same result?

thank you very much for your help.

Because the calculated value only recalculates when a referenced field causes a trigger.

You could also use a summary field here instead of a calc. You would have to put the related child version of the summary field in the self join.

  • Author

thank you very much, problems all sorted :)

I've learned a lot from this :)

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.