Dot product in Control rig

**Hello, **

**I’m trying to calculate Dot Product using control space translation values, but it doesn’t seem to work. It works with global space but not with local space. Is it possible to calculate Dot Product using local space translation values or I’m doing something wrong here? **