Dimensioning Z-Axis

Hello, i`m new ich Draft sight and i would like to make a dimensioning in the z axis but my tries with linear dimensioning always result in dimensioning "0" in x or y Axis and not in 2.3 mm in Z Axis.

What is my mistake?

Reg. Thomas