I think Mike's suggestion to use OnSetCalculatedValue was the solution