Hi @Steve @Suvrutt_Gurjar If i have a complex and lengthy Spreadsheet formula like the one given below, will it affect the app performance or sync time. How are values from cells with formula fetched by the app. Is the value (result of formula) fetched directly from sheet or does appsheet do the calculation after reading the formula from sheet. I have searched the community for anything relevant but couldn't find any.
=IF(OR(ISBLANK($A113),ISBLANK(INDEX(FILTER($S$1:$S112,$B$1:$B112=$B113),COUNTA(FILTER($S$1:$S112,$B$1:$B112=$B113)),1))),"",iferror(edate(INDEX(FILTER($S$1:$S112,$B$1:$B112=$B113),COUNTA(FILTER($S$1:$S112,$B$1:$B112=$B113)),1),6),""))
Thanks for the reply @SkrOYC ๐ but I'm not clear whether such lengthy spreadsheet formulas will affect app performance. Can you pls comment on this.
I'm not an Spreadhseet formulas kind of guy so I can't relate from my experience.
All I can say is what's available on the docs.
Since the calculation is not done by AppSheet nor your app, this shouldn't affect performance. Some people even consider this a more efficient way of performing calculations.
@jyothis_m wrote:I'm not clear whether such lengthy spreadsheet formulas will affect app performance
I'll chime in here:
The reason spreadsheet formulas have such a significant impact on sync time is because of how the update-system works. You have to think about things in a step-by-step way:
So you can see how, if I had 20 updates to make AND a lengthy spreadsheet formula computation time, these two things combined together would make things take
@MultiTech thank you ๐ for the detailed explanation ๐
Do you know how different Performance options or user actions will affect this?
If I have a summary table with many spreadsheet formulas, but the output of those formulas will rarely change, I don't want them to recalculate unnecessarily.
"When the mobile app reads data from the spreadsheet, the formula values are computed"
This is pretty broad. Does it simply mean that ANY read from any table in the spreadsheet file will cause all formulas (even in other tables?) to be recalculated? Or is there more nuance to what will cause formulas to be recalculated?
What the performance impact if the table with these complex spreadsheet formula is made read-only in appsheet
i will suggest to implement the corresponding formulas in appsheet directly.
User | Count |
---|---|
18 | |
9 | |
8 | |
6 | |
5 |