If it’s in a form, then I suspect the value you use hasn’t been calculated when the action is fired. I would try a custom form here and pre-calculate those, still using Experimental Code column, to pass through the action.