Sum a variable along the z axis

Dear all,

I have a 3d domain in paraview. Now I would like to sum or integrate a variable along the z axis, and then display the results on a slice, e.g., slice z= 0. Is there any way to achieve this?

Thanks,
Huan