Are A and B multi-value fields?
Like this:
... | eval Total = A + B
for sub,mul,div "A-B", "A*B","A/B" is it so?
Exactly, provided that both A and B are single-valued files; is either multi-valued?. Don't forget to click "Accept".