You can use the result of an expression directly in a field.
Select your tracks, and edit the field in question, the Tag Action Window might be easiest. Enter or Paste your expression with an '=' character in front of your expression, and that will assign the value of the expression to the field.