Hola @nathanaelb
Here we are going to have a nice and interesting discussion: the Efficiency vs. Effectiveness and with Glide, we need to save rows, data and now, avoid unnecessary edits so, we need to be more efficient than effective.
And we have another point: the No-Code vs Low-Code movement
As anyone can see, both solutions give a valid result, one is a native No-Code solution and the other is a Low-Code solution because uses a small JS code
The problem to solve here is: which one is better (depending on developer’s skill)?
… but does “better” mean to be efficient or effective? That is the dilemma!
My solution (the Low-Code one) uses only 4 additional columns to get results …
… but the other one (No-Code) needs to create 8 columns instead… 2x the needed columns!. It can be effective but not efficient, we are wasting data and overloading the APP.
Imagine that the @Rodrigo_Mendez’s datalogger has 5k+ rows, the No-Code solution will have to load 20k extra values (4 columns x 5k) to show only the water consumption per day.
Worse yet, Rodrigo stated earlier that he “has 5 water meters in total” so, if the has 5 tables (1 per each water meter) and uses the No-Code solution, his APP will have to load and work with 100k extra values (5 tables x 4 columns x 5k values).
No way, there is no way I can support this kind of solution, we have to be efficient again mo matter if a small JS code is implemented.
I understand the cases and love for No-Code tools and ideas but sometimes and I think it’s a good example, a Low-Code solution in Glide can give you a better maintenance, makes your APP simpler and lighter and improves your APP performance up to 30-40%.
Note: Thinh my friend, nothing wrong with you or your idea, you are a crack , it’s just my point of view regarding to use of Low-Code solutions as plan B!!
Have a great day everyone!
Saludos!