You probably won’t need this very often, but this came up recently, and I wanted to share. The user was looking for a way to label the slope distance of a Line. Despite trying to build a Style with the stock components, he kept getting the 2D distance.
As mentioned, this isn’t needed often, so it was not included stock. However, creating an Expression to calculate slope distance is easy. Simply use the old A^2 + B^2 = C^2 equation
The end result looks like this: