Hello Andre,
You have already got the suggestion to use a variable to store calculated expression value.
Just to add on that, As you already have Volume attribute, you don't need to create any additional variable, just assign the calculated value to the GetProductById.Volume .
Eg: Assign widget : GetProductById.Volume = YourExpression
Demo Snap :

Hope it helps!
Regards,
Sanjay