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

Calculated result only shows up in one record

Featured Replies

Hi,

I have a table with a large number of records, and a field called "result". Result can have one of 8 different possible values. I would like to create a field that automatically adds up how many records in the table have value1, value2, ... value8 in the field "result".

So, I created a global field for each potential value in the field result (g_value1, g_value2, ...g_value8) , created 8 additional instances of the table, and linked them to the original table by relating the "g_valueX" fields to "result" in the original table. I then created fields that count all records, calculated from the perspective of table instance 2, instance 3, ...instance 8.

The problem: The solution seems to work correctly, but the 8 count_records fields only have entries when I am looking at the last record in the original table. If I go to any other record, the fields are blank. Why is this, and is there any way to fix it? I think I have to trigger the calculation to occur in all records, but I am not quite sure if this is the problem, or how to do it.

Any thoughts welcome.

Many thanks.

Why all these global fields? i think you would be better off with something like this.

  • Author

Right, I can see how something like ( Case Table::result = "value1 1"; 1) could be handy. But then how do I get a sum of these values for a subset of records in my table?

M

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.