Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Cascading calculations and sync

I have an action that occasionally writes incorrect data to the sheet when I test it as a single user. The following factors seem to be at play:

  1. The action counts the number of virtual columns with a certain value, which in turn, depends on a LOOKUP() expression that looks up a value in another table.
  2. The action can occur before a sync is complete

If the sync has not been completed before the action is invoked, an erroneous value is written. If, on the other hand, the sync has been completed, all is well.

One other possible factor is the lack of a parent-child between the tables. That was pointed out to me when I contacted support@appsheet.com and that led me to post the following:

I plan to contact support about this again but, in the meantime, I find it hard to believe that I’m the only creator for whom this is a potential issue. So, I thought I would ask about your experiences and opinions about this sort of matter.

My own feeling is that after a user changes a value, any value that is dependent on the changed value should not be written to the sheet in an action invoked by the same user until a recalculation has been done, with or without a parent-child relationship between tables. Would you agree? Please let me know if I’m missing something. Also, have any of you experienced similar issues with cascading calculations that occur before a sync?

1 14 498
14 REPLIES 14
Top Labels in this Space