---
title: "Trigger calculation of calculated fields in collect survey"
url: "https://openforis.support/questions/2711/trigger-calculation-of-calculated-fields-in-collect-survey"
tags: ["collectmobile"]
status: "answered"
score: 0
answer_count: 1
asked: "2020-03-03T13:32:43"
last_activity: "2020-03-03T16:33:37"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Trigger calculation of calculated fields in collect survey

Asked by emiir on 2020-03-03

Hi,

having a buchn of calculated fields in a OF collect mobile survey significantly decreases the performance of the tablets in the field. It seems as if all calculations are updated every time new data is entered. Is there a possibility to hold the calculation and only trigger them, once all relevant data is entered? E.g. use a boolean attribute on the plot level, which when true causes the basal area per hectar to be calculated from the tree data entered, instead of updating the basal area per hectar with each new tree entered.

Many thanks!


## Answer (score 2, by Stefano (OF) on 2020-03-03)

Link: https://openforis.support/questions/2711/trigger-calculation-of-calculated-fields-in-collect-survey/2712

Dear Emiir,  
Not "all" the calculated attributes are updated whenever you enter new data, but only the ones that depend on the attribute being edited.  
The efficiency of the calculations depends even on the way you define the calculated attributes (for example, if you have complex expressions repeated in several attributes, you can think about splitting the expression into smaller pieces and introduce other calculated attributes; the most complex computations will be evaluated only one time).  
If you want we can contact you to your private email so you can share with us your survey and we can try to improve it a bit.  
Meanwhile you can try to make the calculated attributes "relevant" only when the user selects a boolean attribute: the calculations will be performed only at that time.  
Many thanks,  
Open Foris Team

> Thanks for the detailed and quick answer! I will check your suggestions and get back to you soon. Great support! (emiir)
