Animation is moving X Y and Z but I only added Y

X and Z have the values removed and only Y is set to change in this animation but it is sending all objects I animate to zero coordinates for X and Z.

How can I force a relative movement within animation?

with animations u cant change special direction u have to do it witch scripts;
but u can do a trick ;

create a new game object and child this object to it ;

then create the animation for this object , now when u move the parent the child move too but when its animation its only animating the ones that u want;