Jul 08, 2020 11:20 AM
It’s 2020 halfway through. Are we getting trig functions in formula field? I need to have the ability to instantly calculating values when some fields are populated (no script block manual triggering).
Jul 08, 2020 01:35 PM
Ho @Bo-Fone and welcome to the community!
Okay - I predict you will see triggered (automated) script blocks before you see formulas to support this. That leaves you with one out (in the meantime) - server-side javascript calling into Airtable via the API and updating fields. And by “server-side” I mean something like Google Apps Script or NodeJS with Google Apps Script getting my vote because it’s the least costly and fastest time-to-production route.
I’ll make another prediction, trig functions will eventually appear in Airtable but not as native formulas; instead, as Scripts in Blocks when script blocks can serve as the development environment for extensible formulas.
Jul 08, 2020 02:03 PM
What trigonometry functions are you looking for?
I definitely wouldn’t hold your breath on this one. There have been ZERO improvements to formulas in Airtable since March 2016. It is one of the top areas of Airtable which is in desperate need of a major upgrade, and yet it has gotten no love, no improvements, and no attention from the Airtable team in over 4 years.
In addition to the major overhaul that is needed for the formula functions themselves, even the formula box itself has problems: it chokes on curly quotes, it doesn’t tell you where the error in your formula is, it condenses long formulas that were once nicely spaced out with spaces & carriage returns into one indecipherable blob of text, it has no color coding, etc.
You’re either going to have to:
or
Jul 08, 2020 02:32 PM
:winking_face:
Nice predictions, Mr FRENCH, isn’t it ?
:slightly_smiling_face:
Jul 08, 2020 02:51 PM
I don’t believe the glu-factories can assist in this requirement because their integrated scripting environments don’t support trig functions (last I checked). And this is why I said “server-side javascript”; it has to be a script environment capable of performing the math computations that @Bo-Fone wants to do.
Jul 08, 2020 06:45 PM
I have a hunch that this upcoming feature will make this process a little easier:
Jul 09, 2020 07:02 AM
My data shows that no less than 71 feature requests in the community will be impacted in a favorable way by this feature. But that’s really the tip of the iceberg. Imagine all of the complicated Zaps and Integromat machinations that could be rendered needless with this capability. Surely not every external process can be displaced, not can many of them be displaced easily - but a fair number will vanish over time and move closer to “home”.
Jul 09, 2020 07:30 AM
:thinking: … I came up with 72… there must be an error in my math.
:winking_face:
Jul 09, 2020 09:18 AM
Indeed. ElasticSearch is generally spot-on with counts.
Jul 09, 2020 11:36 AM
Thank you all for that insightful information! I will try out the new beta features. And in the meantime, I will just open my browser 24/7 and run script block non-stop to achieve this function. Until Airtable dislikes me by doing that or they make some updates. :shushing_face: :smirk: