In the model, you need to create a custom property that receives the result of the calculation (possibly by adding a variable). In the drawing, you call this property.
Sometimes you have to get around it by creating a sketch with a dimensioned construction line with the value of the equation in question and then linking this value to the property in question.
It's a hack but it works Impossible to bring out the equations in the plane otherwise