To make interactive table mode dynamic than it is today, my suggestion is to add a feature to add Expression as new column in inteactive table widget.
So Expression column can be used to:
Compare Other columns value (ex: difference between 2 dates or quantity)
Would the expression column need to be dynamically updated, i.e. via an automation? If so, why not just make it a table column that you display in your interactive table and have the automation take care of it?
If not, wouldn’t it just be a table column that your app populates based on some trigger logic?
The good example to illustrate our need, is to calculate the age of a product.
I have one column in my table that stores the “start date” and I need to calculate the age from this “start date”.
If I store this information I need to add a new recalculated date column to be sure that the Age value is correct. Updated date would not be enough as Age column might not be updated in last record update.
I would prefer a dynamic referesh so the data is refreshed when Table is displayed and age can be dynamically recalculated without storing the value anywhere.
Based on this calculation I woulb be able to display a Warning (dynamically) is the age is above a limit (risk of out of date)
Automation approach is not triggered by record change only but formula between sotred value in table and current date (in the example above).
So only applicable automation trigger would be on a schedule.
And on top of this, the number of records to update would be so high.
thanks for all the good inputs. A few comments from the Tulip side here:
We definitely see and share the perspective on the value of calculated fields that can bring. As you all probably know, an @danielpomeranz also hinted at in his “Option 3”, you can already do calculated fields in Tulip analyses. So if you don’t need to select the data from the table but the core use case is visualizing it, you can use that today.
We are right now working on bringing CURRENTDATEANDTIME() as a function to the expression editor in analytics that will extend the capabilities there to support use cases like the one @thomas.riehl has mentioned (“Record creation is today”), “this item is overdue” or “this has been in progress for this long” - among others.
Beyond this, we are investigating approaches to enable deeper integration of analyses into apps so that data can be selected from them.