Given a compactly supported probability measure $m$ on $\mathbb{R}^n$, we can define its average distance to a point $x$ as $\int_\mathbb{R^n}d(x,y)dm(y)$. In this question I found that for a given measure $m$, the point $x_m$ at minimal average distance from $m$ is almost always unique (the only exception is in some cases where the measure is supported on a line).
However, the original motivation of the question was to find that point at minimal distance from the measure. It seems like for non atomic measures, the point $x_m$ should satisfy $\int_{\mathbb{R}^n} u(x,y)dm=0$, where $u(x,y)=\frac{y-x}{||y-x||}$, but I don't know how useful that is.
The question is, is there a formula that gives you $x_m$ in terms of the measure $m$? (for example expressing $x_m$ as some integral in terms of $m$)