The application relates to an X-ray imaging unit for medical imaging. The unit comprises a column (240), a rotating part (220) comprising a first X-ray source (224) and an X-ray imag-ing detector unit (226), and an upper shelf (250) for supporting the rotating part. The first X-ray source and the detector unit are configured to provide an image by means of at least a rotational movement (R) around a rotation axis (222) of the rotating part. The upper shelf enables the rotating part to move with respect to the upper shelf by means of a linear movement (L). The upper shelf is attached to the column with a pivoting joint (252). The pivoting joint enables a pivot movement (P) of the upper shelf around the column. The rotating part also comprises a secondary collimator (266) that provides a cephalometric image together with a second X-ray source (265) of the unit and the detector unit.