In measure theory, there is a theorem (named after Radon-Nikodym), stating that when a measure $\mu$ is absolutely continuous with respect to one another $\nu$ (meaning that a zero $\nu$-measure set is also a zero $\mu$-measure set), then there exists an $L^1(\nu$) function $\rho$ such that $$\text d \mu =\rho\,\text d \nu\qquad\qquad(1).$$ See the link above for a more precise statement. (Actually, the theorem is an iff since, conversely, a measure $\text d \mu$ in the form (1) would be absolutely continuous with respect to $\text d \nu$)
The function $\rho$ is usually denoted $$\rho =\frac{\text d \mu}{\text d \nu}.$$ It is a "derivative" only in a measure theoretic sense.
Mass distributions, differential cross-sections, probability densities etc. in physics can often be regarded as measure-theoretic derivatives, with respect to some fixed measure (usually the Lebesgue measure) on the relevant space.
Having said that, let me mention that in physics we often do not pay too much attention to the hypothesis of the Radon-Nikodym theorem, in particular to absolute continuity, as long as a formal expression in the form (1) exists. For instance, the mass distribution of point-mass at the origin of space $\mathbb R ^3$ would be $$\rho = \delta ^3(\mathbf x),$$ and you can write the mass-measure as $$\text d m = \rho \text d^3 \mathbf x = \delta ^3 (\mathbf x ) \text d ^3 \mathbf x.\qquad \qquad (1')$$
Of course this does not mean that $\text d m $ is absolutely continuous, but formal manipulations using the RHS of (1') are still possible, if one restricts himself to well behaved integrands.