Hi,
Previously, the question of how to automatically recalculate the value in the parent table when the value in the child table changed was discussed here https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/Updating-Records-in-Another-Table-Best-Practice/m-p/808010
This comparative example shows two options for implementing automated recalculation of a parent table when changes occur in child tables. In both cases the REF-link is established and the “Is Part of” parameter is on.
Case 1 - the calculation is performed in the parent table using a formula in column. This option does not automatically update the parent table (tables Parent and Child).
Case 2 - the calculation is performed by running a sequence of actions that react to saving the child table’s form. This option works correctly (tables Parent2 and Child2).
DATA
Case 1
SUM([Related Childs][Qty])
Case 2
ACTIONS
Case 1
No actions.
Case 2
FILTER("Parent2", [Parent2_ID] = [_THISROW].[Parent2])
SUM([Related Child2s][Qty])
VIEWS
Case 2
Child2_Form (system generated)

RESULTS
Case 1
You cannot change a value in a parent table using a formula alone.
Case 2
Using actions and assigning them to the Save button allows you to successfully synchronize the value in the parent table automatically.
So you can use this complete instruction for automatic recalculation of the value in the parent table when the value in the child table changed.


















