We give a necessary and sufficient condition for positive measures which satisfy a Carleson type inequality for the harmonic Bergman space on the upper half-space of Euclidean spaces.