Integrations & Setup
...
Calculations
Recalculating
sometimes you might want to recalculate the data produced by a calculation, for example when the script used has been changed this can be done using recalculations when selecting a calculation, you can see the recalculate button on top of the details panel this button will open the recalculate modal here, you have can choose between restarting the calculation in the past or recalculating a specific period there's also the option to recalculate with a context specified restarting a calculation when restarting a calculation, only a start time is specified the calculation data will be recalculated starting from the given start time, after which the calculation will be enabled and running as usual recalculating a period in contrast, recalculating a period takes both a start and an end time this schedules a recalculation task that will regenerate the calculation data within the given time window, without changing the state of the calculation both methods will request the data from the time series database, meaning if the stored data has changed (e g if data was received very late), the results of the calculation might change as well recalculating with context a calculation has a stateful context that gets passed to each iteration recalculations support defining the initial context manually for more advanced configurations by checking the recalculate with context checkbox, you will see the context editor similar to the one below
