When you use Analysis -> Mathematics -> Differentiate, this method automatically uses the derivativeXY function because you have a corresponding xy dataset col(A(X)) and col(B(Y)). If you delete col(A(X)) and then calculate the derivative by using the differentiate dialog box, the dialog box will then calculate by using the derivative(vd) function rather than derivativeXY function.