Move the sum column to the search table so that it shares the same row as the active search. Reconfigure the querySumList slice so it uses that same search table row.
The problem, which is exactly what you’re running into, is sometimes the updates lag behind.
The only way to make them not be so slow, is to remove the derivative data elements you’ve included (anything that’s not a direct value somewhere in the system (no computed values)) and basically brute force everything.
But this adds in a level of inefficiency, that depending on the complexity and size of your system could really have an impact.
Thanks @Steve . I have tried your suggestion like this.
I moved the sum column(VC) from the sum table to the search table.
As a result, the dashboard view has two views (entrySearchDetail, queryTransactionDataList) and the entrySearchDetail view shows the sum value.
By the way, it still takes same time.
Since there are several sum values also, it isn’t handy to move the columns to the search table. I mean that I need another view than the detail view(entrySearchDetail) of the search table for showing the sum values.
Recently I had to change a lot of things on a Dashboard I made.
Just FYI, a VC (not real one with AppFormula even) on the same row as my filters solved it.
It seems that slices react a little bit later to the filters so my AppFormula on real column was making the calcs as soon as I edited my filter row but the slice was not updated fast enough so my AppFormula took the previous “instance” of the slice
Btw, you can have multiple detail views and/or separate the columns you need using slices with their own detail view to keep them better organized on the editor and prevent default-system-assignments
If there is a “SELECT” function, I think it takes some time not real time.
There is a difference between mobile view and Open in tab view. In case JUST SUMMING without SELECT function, at mobile view the updating value is real time but at Open in tab view the updating value take some time, at the entrySearchDetail view. ???
It’s very complicated to me to deal with the dashboard view. So I’ll give up THE REAL TIME UPDATE with SELECT function.
This is a little confusing to me, can you elaborate?
As I said I made some changes recently similar to your case.
I used around 18 columns with SELECT() and one last column with some HTML code to show all of them on a ui friendly manner.
It works like charm.
In my case the 18 are real columns and the last one of type LongText + HTML is a VC
When I add “2023” to EnumList on filterDetail view, then contractFiltered view changes immediately, BTW amount changes 20 seconds later NOT immediately (60215010 → 90322515).
Is it normal to take some seconds for changing value that has a “SELELCT” expression?
Create another view with just this VC and show it in your dashboard.
This changes the SUM value instantly.
A select criteria based on values from another table seems to slow things down. Using tablename[col], Instead of [_THISROW].[col], even slows things down also. My guess is that AppSheet goes to the backend engine to retrieve values if you use table[col] format (just a guess).
“filterDetail” view and “filterAmount” view are from the filter table, and “amount” column is VC at the filter table already.
I think that a calculating at the same table with the filtering criteria could be a little faster than a calculating at another table, but still it takes some time.
Details is a detail view of table Filter. [val] is an ENUMLIST. There is only one row.
FILTER Detail 2 is another view of table Filter showing [SUM Value] with expressions (Case 1 & 2) shown below.
SLICE Parents is filtered on[f1] based on [val].
SLICE changes instantly both in Cases 1 and 2.
For [SUM Value], Case 1 takes 10 (or more) seconds to change whereas Case 2 is updated instantly. The only difference is the format used in the SELECT statement’s filtering expression.
Came late to the party but I’m glad it’s solved.
In my case I’m also using values from the current row for my html table so I guess there was your problem. Sometimes it’s obvious, sometimes it’s not.
I have my Select() as real columns quering another table (the slices) so it works fine, but it doesn’t make sense to query a whole table and then just take one value if you are doing it from the same row
No, it’s the same thing I’m doing right now with my newest module/app for our company’s erp
I’m on the process of creating an automation that sends a file with the filtered information.
It’s easy because we already have slices for our Start: expressions