Using column value or $state in other column
I have this column:
And I want to use that column values or $state to do calculations on the other columns like this:
But it didn't work. So how do I access 'population.size' from the $record?
Or maybe if we can use value or $state from another column it would be better. Thanks.
4 Replies
What kind of relationship is
population()
?hasMany
So you'll need to loop over each record to get the
sample_size
propertyYes, that's it
Works very well by adding first(). Thank You.