It has an ID, a YieldPerPlant value, and a third Yield column the user should not interact with.
The idea is after entering the YieldPerPlant value the Yield column is populated based on that value and then saved to the database on update of the table component.
Below is the basic idea of the if statement I want to use.
The column does already exist on the server. Are you saying it's best to create a custom column them use some update/append query to define the custom column as the value for the existing one?
so you want to basically save "high" or "low" in the already existing Yield column based on the input from YieldPerPlant?
In that case you would need to add this logic to your query that updates the row! If I'm not mistaken you will need to create an intermediary JS query that formats the data correctly to work with your table's "Save changes" component.